summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cpp/Gen.cpp
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2005-06-17 06:03:31 +0000
committerMichi Henning <michi@zeroc.com>2005-06-17 06:03:31 +0000
commit9fa7ded488d1f50f316ed76111266976a88a3b2e (patch)
treeabe0956ad47a10c98229eca2b43ddfde4410bc1a /cpp/src/slice2cpp/Gen.cpp
parentAdded on-shot constructors to structures, classes, and exceptions. Added (diff)
downloadice-9fa7ded488d1f50f316ed76111266976a88a3b2e.tar.bz2
ice-9fa7ded488d1f50f316ed76111266976a88a3b2e.tar.xz
ice-9fa7ded488d1f50f316ed76111266976a88a3b2e.zip
Fixed silly typo.
Diffstat (limited to 'cpp/src/slice2cpp/Gen.cpp')
-rw-r--r--cpp/src/slice2cpp/Gen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp
index 8a26faeed74..65730b4993a 100644
--- a/cpp/src/slice2cpp/Gen.cpp
+++ b/cpp/src/slice2cpp/Gen.cpp
@@ -2359,7 +2359,7 @@ Slice::Gen::ObjectVisitor::visitClassDefStart(const ClassDefPtr& p)
H << sb;
if(!allDataMembers.empty())
{
- H << nl << "return __swap(*this, rhs);";
+ H << nl << "__swap(*this, rhs);";
}
H << eb;