summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/CPlusPlusUtil.cpp
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2019-08-16 12:07:27 -0400
committerBernard Normier <bernard@zeroc.com>2019-08-16 12:07:27 -0400
commit077aac3b9e06d3bceadead771f4cc229cb470afe (patch)
treeef13f8617d8b49252caa97a099388944d5956a33 /cpp/src/Slice/CPlusPlusUtil.cpp
parentFix swift Ice/exceptions ok output (diff)
downloadice-077aac3b9e06d3bceadead771f4cc229cb470afe.tar.bz2
ice-077aac3b9e06d3bceadead771f4cc229cb470afe.tar.xz
ice-077aac3b9e06d3bceadead771f4cc229cb470afe.zip
Fixed comments
Diffstat (limited to 'cpp/src/Slice/CPlusPlusUtil.cpp')
-rw-r--r--cpp/src/Slice/CPlusPlusUtil.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Slice/CPlusPlusUtil.cpp b/cpp/src/Slice/CPlusPlusUtil.cpp
index de253779684..d0b6ffd0072 100644
--- a/cpp/src/Slice/CPlusPlusUtil.cpp
+++ b/cpp/src/Slice/CPlusPlusUtil.cpp
@@ -1496,7 +1496,7 @@ Slice::writeStreamHelpers(Output& out,
bool cpp11)
{
// If c is a C++11 class/exception whose base class contains data members (recursively), then we need to generate
- // an StreamWriter even if its implementation is empty. This is becuase our default marsaling uses ice_tuple() which
+ // a StreamWriter even if its implementation is empty. This is because our default marshaling uses ice_tuple() which
// contains all of our class/exception's data members as well the base data members, which breaks marshaling. This
// is not an issue for structs.
if(dataMembers.empty() && !(cpp11 && hasBaseDataMembers))
@@ -1580,7 +1580,7 @@ Slice::writeStreamHelpers(Output& out,
}
//
- // Generate StreamWriter
+ // Generate StreamReader
//
out << nl << "template<typename S>";
out << nl << "struct StreamReader" << (cpp11 ? "<" : "< ") << fullName << ", S>";