diff options
author | Jose <jose@zeroc.com> | 2016-01-15 19:19:07 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2016-01-15 19:19:07 +0100 |
commit | dc2f11ad06ccb3c601a11ff046b6140e6303a837 (patch) | |
tree | 6fbd863c4b0c6357e29a098fbb52dba7499a5353 /cpp/src/slice2cpp/Gen.cpp | |
parent | Windows C++ test build fix (diff) | |
download | ice-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.cpp | 4 |
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; } |