summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/CPlusPlusUtil.cpp
diff options
context:
space:
mode:
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>";