summaryrefslogtreecommitdiff
path: root/cpp/include/Slice/PythonUtil.h
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2007-09-04 11:26:25 +0800
committerMatthew Newhook <matthew@zeroc.com>2007-09-04 11:26:25 +0800
commitc4af221489ad97865aeebe26ea21154547b36724 (patch)
treefc59debac195af4ec37c470f7ab07fd4a20772c3 /cpp/include/Slice/PythonUtil.h
parenthttp://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=2369 (diff)
downloadice-c4af221489ad97865aeebe26ea21154547b36724.tar.bz2
ice-c4af221489ad97865aeebe26ea21154547b36724.tar.xz
ice-c4af221489ad97865aeebe26ea21154547b36724.zip
MSVC 6 compiler fix for http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=2369
Diffstat (limited to 'cpp/include/Slice/PythonUtil.h')
-rw-r--r--cpp/include/Slice/PythonUtil.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/cpp/include/Slice/PythonUtil.h b/cpp/include/Slice/PythonUtil.h
index fdd1f98fc1c..880390e702f 100644
--- a/cpp/include/Slice/PythonUtil.h
+++ b/cpp/include/Slice/PythonUtil.h
@@ -51,8 +51,10 @@ SLICE_API std::string getPackageMetadata(const Slice::ContainedPtr&);
// prepended to the definition's unqualified name. If the nameSuffix
// is provided, it is appended to the containers name.
//
-SLICE_API std::string getAbsolute(const Slice::ContainedPtr&, const std::string& = std::string(),
- const std::string& = std::string());
+// COMPILERFIX: MSVC 6 seems to have a problem with const std::string
+// = std::string(), const std::string = std::string().
+//
+SLICE_API std::string getAbsolute(const Slice::ContainedPtr&, const std::string& = "", const std::string& = "");
//
// Emit a comment header.