summaryrefslogtreecommitdiff
path: root/cpp/src/FreezeScript/TransformAnalyzer.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2007-01-08 15:36:59 +0000
committerDwayne Boone <dwayne@zeroc.com>2007-01-08 15:36:59 +0000
commita16ef132ba1b383d3d2bf573c118a21c653d9229 (patch)
treeeb773fbab75a8fa85e55f947b7afd89f9b8ef811 /cpp/src/FreezeScript/TransformAnalyzer.cpp
parentFixed windows build error (diff)
downloadice-a16ef132ba1b383d3d2bf573c118a21c653d9229.tar.bz2
ice-a16ef132ba1b383d3d2bf573c118a21c653d9229.tar.xz
ice-a16ef132ba1b383d3d2bf573c118a21c653d9229.zip
Borland fixes
Diffstat (limited to 'cpp/src/FreezeScript/TransformAnalyzer.cpp')
-rw-r--r--cpp/src/FreezeScript/TransformAnalyzer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/FreezeScript/TransformAnalyzer.cpp b/cpp/src/FreezeScript/TransformAnalyzer.cpp
index 20cbbbde639..c5e717d4fb4 100644
--- a/cpp/src/FreezeScript/TransformAnalyzer.cpp
+++ b/cpp/src/FreezeScript/TransformAnalyzer.cpp
@@ -100,8 +100,8 @@ FreezeScript::AnalyzeTransformVisitor::addDatabase(const string& name, const Typ
_out << attr("name", name);
}
- string oldKeyName = oldKey ? typeToString(oldKey) : "UNKNOWN";
- string newKeyName = newKey ? typeToString(newKey) : "UNKNOWN";
+ string oldKeyName = oldKey ? typeToString(oldKey) : string("UNKNOWN");
+ string newKeyName = newKey ? typeToString(newKey) : string("UNKNOWN");
if(oldKeyName == newKeyName)
{
_out << attr("key", oldKeyName);
@@ -111,8 +111,8 @@ FreezeScript::AnalyzeTransformVisitor::addDatabase(const string& name, const Typ
_out << attr("key", oldKeyName + "," + newKeyName);
}
- string oldValueName = oldValue ? typeToString(oldValue) : "UNKNOWN";
- string newValueName = newValue ? typeToString(newValue) : "UNKNOWN";
+ string oldValueName = oldValue ? typeToString(oldValue) : string("UNKNOWN");
+ string newValueName = newValue ? typeToString(newValue) : string("UNKNOWN");
if(oldValueName == newValueName)
{
_out << attr("value", oldValueName);