summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2019-06-21 00:06:23 +0200
committerJose <jose@zeroc.com>2019-06-21 00:06:23 +0200
commitfda6efdfe6432beecdf76d144b7a8a07ceb77d18 (patch)
tree485045c6f7e3017613cce850295d0b9c742f1691 /cpp/src/slice2cpp
parentFixed warnings reported by Xcode code analyzer (diff)
downloadice-fda6efdfe6432beecdf76d144b7a8a07ceb77d18.tar.bz2
ice-fda6efdfe6432beecdf76d144b7a8a07ceb77d18.tar.xz
ice-fda6efdfe6432beecdf76d144b7a8a07ceb77d18.zip
Incorrect documentation for C++ generated structs Fixes #350
Diffstat (limited to 'cpp/src/slice2cpp')
-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 2b65602d59b..50459105167 100644
--- a/cpp/src/slice2cpp/Gen.cpp
+++ b/cpp/src/slice2cpp/Gen.cpp
@@ -6577,7 +6577,7 @@ Slice::Gen::Cpp11TypesVisitor::visitStructEnd(const StructPtr& p)
{
H << sp;
H << nl << "/**";
- H << nl << " * Obtains a tuple containing all of the exception's data members.";
+ H << nl << " * Obtains a tuple containing all of the struct's data members.";
H << nl << " * @return The data members in a tuple.";
H << nl << " */";
writeIceTuple(H, fixKwd(p->scope()), p->dataMembers(), _useWstring);