summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/Slice/JavaUtil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Slice/JavaUtil.cpp b/cpp/src/Slice/JavaUtil.cpp
index 901910fe263..17d446d7472 100644
--- a/cpp/src/Slice/JavaUtil.cpp
+++ b/cpp/src/Slice/JavaUtil.cpp
@@ -909,7 +909,7 @@ Slice::JavaGenerator::writeGenericMarshalUnmarshalCode(Output& out,
}
else
{
- out << nl << "v = " << stream << ".readObject(" << name << ", \"\", null);";
+ out << nl << v << " = " << stream << ".readObject(" << name << ", \"\", null);";
}
break;
}