From 696fd7af203e28c1f3821ceea56b48d83d28fdd5 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 4 Oct 2009 11:58:52 +0000 Subject: Reduce usage of Common::String::emptyString svn-id: r44603 --- common/config-manager.h | 8 ++++---- common/fs.cpp | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'common') diff --git a/common/config-manager.h b/common/config-manager.h index bc734dbdc3..75e6ee6449 100644 --- a/common/config-manager.h +++ b/common/config-manager.h @@ -132,10 +132,10 @@ public: // // Some additional convenience accessors. // - int getInt(const String &key, const String &domName = String::emptyString) const; - bool getBool(const String &key, const String &domName = String::emptyString) const; - void setInt(const String &key, int value, const String &domName = String::emptyString); - void setBool(const String &key, bool value, const String &domName = String::emptyString); + int getInt(const String &key, const String &domName = String()) const; + bool getBool(const String &key, const String &domName = String()) const; + void setInt(const String &key, int value, const String &domName = String()); + void setBool(const String &key, bool value, const String &domName = String()); void registerDefault(const String &key, const String &value); diff --git a/common/fs.cpp b/common/fs.cpp index 1bc1c370b9..fac4dae733 100644 --- a/common/fs.cpp +++ b/common/fs.cpp @@ -249,7 +249,7 @@ SeekableReadStream *FSDirectory::createReadStreamForMember(const String &name) c } FSDirectory *FSDirectory::getSubDirectory(const String &name, int depth, bool flat) { - return getSubDirectory(String::emptyString, name, depth, flat); + return getSubDirectory(String(), name, depth, flat); } FSDirectory *FSDirectory::getSubDirectory(const String &prefix, const String &name, int depth, bool flat) { -- cgit v1.2.3