diff options
author | Marc Laukien <marc@zeroc.com> | 2002-01-25 22:02:51 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-01-25 22:02:51 +0000 |
commit | 0bed64a2fa07caeb4fd63b4717f935b1fede97fe (patch) | |
tree | 169f360d9dc3c8884abc8ca62333d036832a3e93 /cpp/src/Slice/Parser.cpp | |
parent | Generation of helper types for sequence & dictionary. (diff) | |
download | ice-0bed64a2fa07caeb4fd63b4717f935b1fede97fe.tar.bz2 ice-0bed64a2fa07caeb4fd63b4717f935b1fede97fe.tar.xz ice-0bed64a2fa07caeb4fd63b4717f935b1fede97fe.zip |
removed nonmutating as keyword
Diffstat (limited to 'cpp/src/Slice/Parser.cpp')
-rw-r--r-- | cpp/src/Slice/Parser.cpp | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/cpp/src/Slice/Parser.cpp b/cpp/src/Slice/Parser.cpp index 89d511fe693..589c642cb61 100644 --- a/cpp/src/Slice/Parser.cpp +++ b/cpp/src/Slice/Parser.cpp @@ -1204,8 +1204,7 @@ Slice::ClassDef::createOperation(const string& name, const TypePtr& returnType, const TypeStringList& inParams, const TypeStringList& outParams, - const ExceptionList& throws, - bool nonmutating) + const ExceptionList& throws) { ContainedList matches = _unit->findContents(thisScope() + name); if (!matches.empty()) @@ -1274,7 +1273,7 @@ Slice::ClassDef::createOperation(const string& name, return 0; } - OperationPtr p = new Operation(this, name, returnType, inParams, outParams, throws, nonmutating); + OperationPtr p = new Operation(this, name, returnType, inParams, outParams, throws); _contents.push_back(p); return p; } @@ -1943,12 +1942,6 @@ Slice::Operation::throws() return _throws; } -bool -Slice::Operation::nonmutating() -{ - return _nonmutating; -} - Contained::ContainedType Slice::Operation::containedType() { @@ -2008,14 +2001,13 @@ Slice::Operation::visit(ParserVisitor* visitor) Slice::Operation::Operation(const ContainerPtr& container, const string& name, const TypePtr& returnType, const TypeStringList& inParams, const TypeStringList& outParams, - const ExceptionList& throws, bool nonmutating) : + const ExceptionList& throws) : Contained(container, name), SyntaxTreeBase(container->unit()), _returnType(returnType), _inParams(inParams), _outParams(outParams), - _throws(throws), - _nonmutating(nonmutating) + _throws(throws) { } |