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/base/songloading/songloader.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/base') diff --git a/src/base/songloading/songloader.hpp b/src/base/songloading/songloader.hpp index bbe7dfcb..57afdefe 100644 --- a/src/base/songloading/songloader.hpp +++ b/src/base/songloading/songloader.hpp @@ -38,7 +38,7 @@ namespace usdx class NoStrategyException : public BaseException { public: - NoStrategyException(std::string message) : BaseException(message) {}; + NoStrategyException(const std::string& message) : BaseException(message) {}; ~NoStrategyException () throw () {}; }; -- cgit v1.2.3