summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/kernel/dynlib-test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sca-cpp/trunk/kernel/dynlib-test.cpp')
-rw-r--r--sca-cpp/trunk/kernel/dynlib-test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/sca-cpp/trunk/kernel/dynlib-test.cpp b/sca-cpp/trunk/kernel/dynlib-test.cpp
index 419fa29db5..c7f0e6238d 100644
--- a/sca-cpp/trunk/kernel/dynlib-test.cpp
+++ b/sca-cpp/trunk/kernel/dynlib-test.cpp
@@ -28,7 +28,7 @@
namespace tuscany {
namespace test {
- const int cppsquare(int x) {
+ const int cppsquare(const int x) {
return x * x;
}
@@ -41,8 +41,8 @@ extern "C" {
return tuscany::test::cppsquare(x);
}
- const tuscany::lambda<int(const int)> csquarel() {
- return tuscany::lambda<int(const int)>(tuscany::test::cppsquare);
+ const tuscany::lambda<const int(const int)> csquarel() {
+ return tuscany::lambda<const int(const int)>(tuscany::test::cppsquare);
}
}