summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cpp/Gen.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2016-01-15 19:19:07 +0100
committerJose <jose@zeroc.com>2016-01-15 19:19:07 +0100
commitdc2f11ad06ccb3c601a11ff046b6140e6303a837 (patch)
tree6fbd863c4b0c6357e29a098fbb52dba7499a5353 /cpp/src/slice2cpp/Gen.cpp
parentWindows C++ test build fix (diff)
downloadice-dc2f11ad06ccb3c601a11ff046b6140e6303a837.tar.bz2
ice-dc2f11ad06ccb3c601a11ff046b6140e6303a837.tar.xz
ice-dc2f11ad06ccb3c601a11ff046b6140e6303a837.zip
bogus metadata warning
Diffstat (limited to 'cpp/src/slice2cpp/Gen.cpp')
-rw-r--r--cpp/src/slice2cpp/Gen.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp
index ac5131a1871..e53d0ed13fa 100644
--- a/cpp/src/slice2cpp/Gen.cpp
+++ b/cpp/src/slice2cpp/Gen.cpp
@@ -5085,7 +5085,9 @@ Slice::Gen::MetaDataVisitor::validate(const SyntaxTreeBasePtr& cont, const Strin
{
ClassDefPtr cl = ClassDefPtr::dynamicCast(cont);
- if(cl && ((cpp && ss == "virtual") || (cpp11 && cl->isLocal() && ss.find("type:") == 0)))
+ if(cl && ((cpp && ss == "virtual") ||
+ (cpp11 && cl->isLocal() && ss.find("type:") == 0) ||
+ (cl->isLocal() && ss == "comparable")))
{
continue;
}