summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Reference.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2004-04-09 16:38:00 +0000
committerMarc Laukien <marc@zeroc.com>2004-04-09 16:38:00 +0000
commit09c33fa2189c2b538d6618d4bd78d6e6e32b5c3a (patch)
tree6220806dfb1a26ca3f54dd13f810202f99d28156 /cpp/src/Ice/Reference.cpp
parentadd opContext test (diff)
downloadice-09c33fa2189c2b538d6618d4bd78d6e6e32b5c3a.tar.bz2
ice-09c33fa2189c2b538d6618d4bd78d6e6e32b5c3a.tar.xz
ice-09c33fa2189c2b538d6618d4bd78d6e6e32b5c3a.zip
moved StringUtil to IceUtil, fixed names
Diffstat (limited to 'cpp/src/Ice/Reference.cpp')
-rw-r--r--cpp/src/Ice/Reference.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/Ice/Reference.cpp b/cpp/src/Ice/Reference.cpp
index 82b926d575d..a40c9ac17b8 100644
--- a/cpp/src/Ice/Reference.cpp
+++ b/cpp/src/Ice/Reference.cpp
@@ -23,13 +23,13 @@
#include <Ice/Router.h>
#include <Ice/LocatorInfo.h>
#include <Ice/Locator.h>
-#include <Ice/StringUtil.h>
#include <Ice/Functional.h>
#include <Ice/ObjectAdapterI.h> // For getIncomingConnections().
#include <Ice/Connection.h>
#include <Ice/ConnectionFactory.h>
#include <Ice/LoggerUtil.h>
#include <Ice/TraceLevels.h>
+#include <IceUtil/StringUtil.h>
using namespace std;
using namespace Ice;
@@ -294,7 +294,7 @@ IceInternal::Reference::toString() const
// the reference parser uses as separators, then we enclose
// the facet string in quotes.
//
- string fs = encodeString(facet, "");
+ string fs = IceUtil::escapeString(facet, "");
if(fs.find_first_of(" \t\n\r:@") != string::npos)
{
s << '"' << fs << '"';
@@ -359,7 +359,7 @@ IceInternal::Reference::toString() const
}
else if(!adapterId.empty())
{
- string a = encodeString(adapterId, "");
+ string a = IceUtil::escapeString(adapterId, "");
//
// If the encoded adapter id string contains characters which
// the reference parser uses as separators, then we enclose