summaryrefslogtreecommitdiff
path: root/cpp/demo/IceBox/hello
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2008-10-28 11:20:06 -0230
committerDwayne Boone <dwayne@zeroc.com>2008-10-28 11:20:06 -0230
commitaf0ffea30bc1e63a0c5ae5837926d9fb8f8205e8 (patch)
tree1970e7e13642fdd26eeaf0d46634427c7b54e8f6 /cpp/demo/IceBox/hello
parentBug 3460 - BasicStream.reset set _sliceObjects to true (diff)
downloadice-af0ffea30bc1e63a0c5ae5837926d9fb8f8205e8.tar.bz2
ice-af0ffea30bc1e63a0c5ae5837926d9fb8f8205e8.tar.xz
ice-af0ffea30bc1e63a0c5ae5837926d9fb8f8205e8.zip
Bug 3486 - Remove unecessary "cpp:const"
Diffstat (limited to 'cpp/demo/IceBox/hello')
-rw-r--r--cpp/demo/IceBox/hello/Hello.ice2
-rw-r--r--cpp/demo/IceBox/hello/HelloI.cpp2
-rw-r--r--cpp/demo/IceBox/hello/HelloI.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/cpp/demo/IceBox/hello/Hello.ice b/cpp/demo/IceBox/hello/Hello.ice
index 871a5123e30..71cff05a221 100644
--- a/cpp/demo/IceBox/hello/Hello.ice
+++ b/cpp/demo/IceBox/hello/Hello.ice
@@ -15,7 +15,7 @@ module Demo
interface Hello
{
- ["cpp:const"] idempotent void sayHello();
+ idempotent void sayHello();
};
};
diff --git a/cpp/demo/IceBox/hello/HelloI.cpp b/cpp/demo/IceBox/hello/HelloI.cpp
index f105a0e2a15..80490fcab4c 100644
--- a/cpp/demo/IceBox/hello/HelloI.cpp
+++ b/cpp/demo/IceBox/hello/HelloI.cpp
@@ -13,7 +13,7 @@
using namespace std;
void
-HelloI::sayHello(const Ice::Current&) const
+HelloI::sayHello(const Ice::Current&)
{
cout << "Hello World!" << endl;
}
diff --git a/cpp/demo/IceBox/hello/HelloI.h b/cpp/demo/IceBox/hello/HelloI.h
index 85e00775cd0..3b644919aa3 100644
--- a/cpp/demo/IceBox/hello/HelloI.h
+++ b/cpp/demo/IceBox/hello/HelloI.h
@@ -16,7 +16,7 @@ class HelloI : public Demo::Hello
{
public:
- virtual void sayHello(const Ice::Current&) const;
+ virtual void sayHello(const Ice::Current&);
};
#endif