diff options
Diffstat (limited to 'cpp/src/slice2cppe/Gen.cpp')
-rw-r--r-- | cpp/src/slice2cppe/Gen.cpp | 2 |
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()) { |