summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cppe
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2007-03-16 17:11:01 +0000
committerDwayne Boone <dwayne@zeroc.com>2007-03-16 17:11:01 +0000
commit9e5a59fc26b01c35a1d792547acf8a5e6ec3311f (patch)
tree5cf4e5084c17c33f72fe458b9744910e18b2f8fc /cpp/src/slice2cppe
parentFixed bug 2005 (diff)
downloadice-9e5a59fc26b01c35a1d792547acf8a5e6ec3311f.tar.bz2
ice-9e5a59fc26b01c35a1d792547acf8a5e6ec3311f.tar.xz
ice-9e5a59fc26b01c35a1d792547acf8a5e6ec3311f.zip
Bug 1343
Diffstat (limited to 'cpp/src/slice2cppe')
-rw-r--r--cpp/src/slice2cppe/Gen.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/slice2cppe/Gen.cpp b/cpp/src/slice2cppe/Gen.cpp
index f616f28d264..d627a568e38 100644
--- a/cpp/src/slice2cppe/Gen.cpp
+++ b/cpp/src/slice2cppe/Gen.cpp
@@ -3028,6 +3028,8 @@ void
Slice::Gen::MetaDataVisitor::visitOperation(const OperationPtr& p)
{
StringList metaData = p->getMetaData();
+ metaData.remove("cpp:const");
+
TypePtr returnType = p->returnType();
if(!metaData.empty())
{