summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe George <joe@zeroc.com>2021-03-31 11:34:55 -0400
committerJoe George <joe@zeroc.com>2021-03-31 11:36:06 -0400
commit1df7ea9ae6526a829dccdbb1e153f6592be9ea68 (patch)
tree8796e3edbf8d272ac67d5a724f05a16f891737b0
parentSupport for building C++98 with a C++11 compiler (#1267) (diff)
downloadice-1df7ea9ae6526a829dccdbb1e153f6592be9ea68.tar.bz2
ice-1df7ea9ae6526a829dccdbb1e153f6592be9ea68.tar.xz
ice-1df7ea9ae6526a829dccdbb1e153f6592be9ea68.zip
Fix typo in spelling of polymorphically
-rw-r--r--cpp/include/Ice/Exception.h6
-rw-r--r--cpp/include/Ice/IconvStringConverter.h2
-rw-r--r--cpp/src/slice2cpp/Gen.cpp4
3 files changed, 6 insertions, 6 deletions
diff --git a/cpp/include/Ice/Exception.h b/cpp/include/Ice/Exception.h
index 64f5636c66c..13f86ad9388 100644
--- a/cpp/include/Ice/Exception.h
+++ b/cpp/include/Ice/Exception.h
@@ -44,7 +44,7 @@ public:
#endif
/**
- * Polymporphically clones this exception.
+ * Polymorphically clones this exception.
* @return A shallow copy of this exception.
*/
#ifdef ICE_CPP11_MAPPING
@@ -69,7 +69,7 @@ class ICE_API UserException : public IceUtil::Exception
public:
/**
- * Polymporphically clones this exception.
+ * Polymorphically clones this exception.
* @return A shallow copy of this exception.
*/
#ifdef ICE_CPP11_MAPPING
@@ -126,7 +126,7 @@ public:
#endif
/**
- * Polymporphically clones this exception.
+ * Polymorphically clones this exception.
* @return A shallow copy of this exception.
*/
#ifdef ICE_CPP11_MAPPING
diff --git a/cpp/include/Ice/IconvStringConverter.h b/cpp/include/Ice/IconvStringConverter.h
index a7cee796db8..7d1deb33f67 100644
--- a/cpp/include/Ice/IconvStringConverter.h
+++ b/cpp/include/Ice/IconvStringConverter.h
@@ -65,7 +65,7 @@ public:
#ifndef ICE_CPP11_MAPPING
/**
- * Polymporphically clones this exception.
+ * Polymorphically clones this exception.
* @return A shallow copy of this exception.
*/
virtual IconvInitializationException* ice_clone() const;
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;";