diff options
author | Bernard Normier <bernard@zeroc.com> | 2003-05-23 17:07:37 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2003-05-23 17:07:37 +0000 |
commit | 937250e9b33c2dd63cd344e1c37dd9c0df106aef (patch) | |
tree | bd7161a9a9ed5a512e7b3ddbba3dfc603356c6dd /cpp/src/Slice/CPlusPlusUtil.cpp | |
parent | static string arrays must be final (diff) | |
download | ice-937250e9b33c2dd63cd344e1c37dd9c0df106aef.tar.bz2 ice-937250e9b33c2dd63cd344e1c37dd9c0df106aef.tar.xz ice-937250e9b33c2dd63cd344e1c37dd9c0df106aef.zip |
Fixed Sun warnings
Diffstat (limited to 'cpp/src/Slice/CPlusPlusUtil.cpp')
-rw-r--r-- | cpp/src/Slice/CPlusPlusUtil.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cpp/src/Slice/CPlusPlusUtil.cpp b/cpp/src/Slice/CPlusPlusUtil.cpp index da8f51b293a..40400966279 100644 --- a/cpp/src/Slice/CPlusPlusUtil.cpp +++ b/cpp/src/Slice/CPlusPlusUtil.cpp @@ -611,21 +611,21 @@ Slice::writeGenericMarshalUnmarshalCode(Output& out, const TypePtr& type, const { ClassDefPtr def = cl->definition(); string factory; - string type; + string typeName; if(def && !def->isAbstract()) { factory = fixKwd(cl->scoped()); factory += "::ice_factory()"; - type = fixKwd(cl->scoped()); - type += "::ice_staticId()"; + typeName = fixKwd(cl->scoped()); + typeName += "::ice_staticId()"; } else { factory = "0"; - type = "\"\""; + typeName = "\"\""; } out << nl << scope << "__" << streamFunc << "Object(" << stream << ", " << tagName << ", " - << type << ", " << factory << ", " << fixedParam << ");"; + << typeName << ", " << factory << ", " << fixedParam << ");"; } out << eb; |