summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cpp/Gen.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2001-08-09 01:52:46 +0000
committerMarc Laukien <marc@zeroc.com>2001-08-09 01:52:46 +0000
commitd826982764678c1267d1e40f46ba7b3ae84563e0 (patch)
treed971f4def2b12655caf99fc3948784cfdd8fdf17 /cpp/src/slice2cpp/Gen.cpp
parentfixes (diff)
downloadice-d826982764678c1267d1e40f46ba7b3ae84563e0.tar.bz2
ice-d826982764678c1267d1e40f46ba7b3ae84563e0.tar.xz
ice-d826982764678c1267d1e40f46ba7b3ae84563e0.zip
fix
Diffstat (limited to 'cpp/src/slice2cpp/Gen.cpp')
-rw-r--r--cpp/src/slice2cpp/Gen.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp
index 69118450893..a3785f4ed89 100644
--- a/cpp/src/slice2cpp/Gen.cpp
+++ b/cpp/src/slice2cpp/Gen.cpp
@@ -1428,10 +1428,8 @@ Slice::Gen::ObjectVisitor::visitClassDefEnd(const ClassDefPtr& p)
StringList allOpNames;
transform(allOperations.begin(), allOperations.end(), back_inserter(allOpNames),
::Ice::memFun(&Operation::name));
- StringList other;
- other.push_back("_isA");
- //other.sort();
- allOpNames.merge(other);
+ allOpNames.push_back("_isA");
+ allOpNames.sort();
allOpNames.unique();
StringList::iterator q;