diff options
author | Joe George <joe@zeroc.com> | 2015-12-18 14:48:29 -0500 |
---|---|---|
committer | Joe George <joe@zeroc.com> | 2015-12-18 14:48:29 -0500 |
commit | 3c07e69ea17223c7d5a8449ec9bb75d9bba40e07 (patch) | |
tree | 6101376459c3f62f9fe4dcbb7819729667209191 /cpp/src/Slice/Parser.cpp | |
parent | C++11 Ice/ami test hangs on OS X (diff) | |
download | ice-3c07e69ea17223c7d5a8449ec9bb75d9bba40e07.tar.bz2 ice-3c07e69ea17223c7d5a8449ec9bb75d9bba40e07.tar.xz ice-3c07e69ea17223c7d5a8449ec9bb75d9bba40e07.zip |
ICE-6903 - "async" metadata changes
- Rename "async" metadata to "async-oneway"
- Update C++11 mapping for "async-oneway".
Diffstat (limited to 'cpp/src/Slice/Parser.cpp')
-rw-r--r-- | cpp/src/Slice/Parser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Slice/Parser.cpp b/cpp/src/Slice/Parser.cpp index 02a26d39551..26658b3509a 100644 --- a/cpp/src/Slice/Parser.cpp +++ b/cpp/src/Slice/Parser.cpp @@ -1582,7 +1582,7 @@ Slice::Container::hasLocalClassDefsWithAsync() const ClassDefPtr cl = ClassDefPtr::dynamicCast(*p); if(cl && cl->isLocal()) { - if(cl->hasMetaData("async")) + if(cl->hasMetaData("async-oneway")) { return true; } @@ -1590,7 +1590,7 @@ Slice::Container::hasLocalClassDefsWithAsync() const OperationList ol = cl->operations(); for(OperationList::const_iterator q = ol.begin(); q != ol.end(); ++q) { - if((*q)->hasMetaData("async")) + if((*q)->hasMetaData("async-oneway")) { return true; } |