summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cpp/Gen.cpp
diff options
context:
space:
mode:
authorJoe George <joe@zeroc.com>2016-06-08 20:02:29 -0400
committerJoe George <joe@zeroc.com>2016-06-08 20:02:29 -0400
commitc8a9b21454278299e1303c08b5056d772c10d7ae (patch)
tree10f1765915c4d290c59b9b6869d80a0fd3f3126b /cpp/src/slice2cpp/Gen.cpp
parentFix for ICE-ICE-6982 optional data members (diff)
downloadice-c8a9b21454278299e1303c08b5056d772c10d7ae.tar.bz2
ice-c8a9b21454278299e1303c08b5056d772c10d7ae.tar.xz
ice-c8a9b21454278299e1303c08b5056d772c10d7ae.zip
Fix typo
Diffstat (limited to 'cpp/src/slice2cpp/Gen.cpp')
-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 f845c596b22..6871a6ed120 100644
--- a/cpp/src/slice2cpp/Gen.cpp
+++ b/cpp/src/slice2cpp/Gen.cpp
@@ -7740,7 +7740,7 @@ Slice::Gen::Cpp11StreamVisitor::visitStructStart(const StructPtr& p)
H << nl << "static const bool fixedLength = " << (p->isVariableLength() ? "false" : "true") << ";";
H << eb << ";" << nl;
- writeStreamHelpers(H, true, p, p->dataMembers());
+ writeStreamHelpers(H, false, p, p->dataMembers());
return false;
}