summaryrefslogtreecommitdiff
path: root/tests/test_bind_return.cc
diff options
context:
space:
mode:
authorMartin Schulze <MHL.Schulze@t-online.de>2003-03-26 12:16:55 +0000
committerMartin Schulze <teebaum@src.gnome.org>2003-03-26 12:16:55 +0000
commitb3c6f679bbe3e1319cf22c967f4ea48f99f5c082 (patch)
treefa3ce8df4e31c41683d837b9fe2ee91f4299a12e /tests/test_bind_return.cc
parent12b8ea27c93c2792e33e768a91694df64500e03f (diff)
downloadsigc++-b3c6f679bbe3e1319cf22c967f4ea48f99f5c082.tar.gz
Change "closure" to "slot" throughout sigc++2 (file names, class names,
2003-03-26 Martin Schulze <MHL.Schulze@t-online.de> * Change "closure" to "slot" throughout sigc++2 (file names, class names, member variables, documentation, etc.).
Diffstat (limited to 'tests/test_bind_return.cc')
-rw-r--r--tests/test_bind_return.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_bind_return.cc b/tests/test_bind_return.cc
index e5f53e0..79e317d 100644
--- a/tests/test_bind_return.cc
+++ b/tests/test_bind_return.cc
@@ -4,7 +4,7 @@
*/
#include <sigc++/adaptors/bind_return.h>
-#include <sigc++/functors/closure.h>
+#include <sigc++/functors/slot.h>
#include <iostream>
using namespace std;
@@ -35,7 +35,7 @@ int main()
bind_return<string&>(foo(),str)(6) = "main";
cout << str << endl;
- closure<bar,int> c; // bar, not bar&: closures cannot return references
+ slot<bar,int> c; // bar, not bar&: slots cannot return references
{
bar choco(-1);
c = bind_return<bar&>(foo(),choco);