From 770a603257cf98f83086ebf5b5b16b5298fd9a89 Mon Sep 17 00:00:00 2001 From: mtadel Date: Thu, 26 Oct 2006 13:17:56 +0000 Subject: [PATCH] Fixed operator+ functions for exceptions (forgot to change them when migrated from std::string to TString as exception base-class). --- EVE/Reve/Reve.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/EVE/Reve/Reve.cxx b/EVE/Reve/Reve.cxx index cdf4ee9a12e..c39c4ea9aa8 100644 --- a/EVE/Reve/Reve.cxx +++ b/EVE/Reve/Reve.cxx @@ -41,13 +41,13 @@ Exc_t::Exc_t(const std::string& s) : TString(s.c_str()) {} // Exc + ops Exc_t operator+(const Exc_t &s1, const std::string &s2) -{ return Exc_t((std::string&)s1 + s2); } +{ return Exc_t((TString&)s1 + s2.c_str()); } Exc_t operator+(const Exc_t &s1, const TString &s2) -{ return Exc_t((std::string&)s1 + s2.Data()); } +{ return Exc_t((TString&)s1 + s2); } Exc_t operator+(const Exc_t &s1, const char *s2) -{ return Exc_t((std::string&)s1 + s2); } +{ return Exc_t((TString&)s1 + s2); } // ---------------------------------------------------------------- -- 2.43.0