From af0917623ac806e35a88efe8983b16965c92ec0d Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Thu, 28 Jan 2010 11:33:12 +0100 Subject: make string constructor argument a constant reference --- src/utils/base_exception.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils/base_exception.hpp') diff --git a/src/utils/base_exception.hpp b/src/utils/base_exception.hpp index 44f3c2b7..08e4b371 100644 --- a/src/utils/base_exception.hpp +++ b/src/utils/base_exception.hpp @@ -38,7 +38,7 @@ namespace usdx std::string message; protected: - BaseException(std::string message); + BaseException(const std::string& message); public: ~BaseException() throw (); -- cgit v1.2.3