summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cpp/Gen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/slice2cpp/Gen.cpp')
-rw-r--r--cpp/src/slice2cpp/Gen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp
index 29b353e8e19..ede9fd97419 100644
--- a/cpp/src/slice2cpp/Gen.cpp
+++ b/cpp/src/slice2cpp/Gen.cpp
@@ -1538,7 +1538,7 @@ Slice::Gen::TypesVisitor::visitExceptionStart(const ExceptionPtr& p)
}
H << nl << "/**";
- H << nl << " * Polymporphically clones this exception.";
+ H << nl << " * Polymorphically clones this exception.";
H << nl << " * @return A shallow copy of this exception.";
H << nl << " */";
H << nl << "virtual " << name << "* ice_clone() const;";
@@ -3034,7 +3034,7 @@ Slice::Gen::ObjectVisitor::visitClassDefStart(const ClassDefPtr& p)
{
H << sp;
H << nl << "/**";
- H << nl << " * Polymporphically clones this object.";
+ H << nl << " * Polymorphically clones this object.";
H << nl << " * @return A shallow copy of this object.";
H << nl << " */";
H << nl << "virtual " << getUnqualified("::Ice::ObjectPtr", scope) << " ice_clone() const;";