]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Fixed operator+ functions for exceptions (forgot to change them when migrated from...
authormtadel <mtadel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 26 Oct 2006 13:17:56 +0000 (13:17 +0000)
committermtadel <mtadel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 26 Oct 2006 13:17:56 +0000 (13:17 +0000)
EVE/Reve/Reve.cxx

index cdf4ee9a12ee129f51a2c2cf76ac26619c3f97de..c39c4ea9aa8b1290a3e7eedbca629e508f0d0944 100644 (file)
@@ -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); }
 
 // ----------------------------------------------------------------