From c4af221489ad97865aeebe26ea21154547b36724 Mon Sep 17 00:00:00 2001 From: Matthew Newhook Date: Tue, 4 Sep 2007 11:26:25 +0800 Subject: MSVC 6 compiler fix for http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=2369 --- cpp/include/Slice/PythonUtil.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'cpp/include/Slice/PythonUtil.h') 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. -- cgit v1.2.3