summaryrefslogtreecommitdiff
path: root/cpp/demo/IceGrid/simple
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/IceGrid/simple
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/IceGrid/simple')
-rw-r--r--cpp/demo/IceGrid/simple/Hello.ice2
-rw-r--r--cpp/demo/IceGrid/simple/HelloI.cpp2
-rw-r--r--cpp/demo/IceGrid/simple/HelloI.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/cpp/demo/IceGrid/simple/Hello.ice b/cpp/demo/IceGrid/simple/Hello.ice
index bb8fc0971a5..b30e06e02fc 100644
--- a/cpp/demo/IceGrid/simple/Hello.ice
+++ b/cpp/demo/IceGrid/simple/Hello.ice
@@ -15,7 +15,7 @@ module Demo
interface Hello
{
- ["cpp:const"] idempotent void sayHello();
+ idempotent void sayHello();
void shutdown();
};
diff --git a/cpp/demo/IceGrid/simple/HelloI.cpp b/cpp/demo/IceGrid/simple/HelloI.cpp
index d92675288cf..94eed3ba46e 100644
--- a/cpp/demo/IceGrid/simple/HelloI.cpp
+++ b/cpp/demo/IceGrid/simple/HelloI.cpp
@@ -17,7 +17,7 @@ HelloI::HelloI(const string& name) : _name(name)
}
void
-HelloI::sayHello(const Ice::Current&) const
+HelloI::sayHello(const Ice::Current&)
{
cout << _name << " says Hello World!" << endl;
}
diff --git a/cpp/demo/IceGrid/simple/HelloI.h b/cpp/demo/IceGrid/simple/HelloI.h
index 189afa1a2da..8ce2b9cba1c 100644
--- a/cpp/demo/IceGrid/simple/HelloI.h
+++ b/cpp/demo/IceGrid/simple/HelloI.h
@@ -18,7 +18,7 @@ public:
HelloI(const std::string&);
- virtual void sayHello(const Ice::Current&) const;
+ virtual void sayHello(const Ice::Current&);
virtual void shutdown(const Ice::Current&);
private: