Simplify error message

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8637 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2011-05-18 01:19:58 +00:00
parent 9106fb8bfc
commit 0a2c9fc318

View File

@ -70,10 +70,8 @@ Track* TrackManager::getTrack(const std::string& ident) const
if ((*i)->getIdent() == ident)
return *i;
}
std::ostringstream msg;
msg<<"TrackManager: Couldn't find track: '"<<ident<<"'";
std::cerr << msg.str() << std::endl;
std::cerr << "TrackManager: Couldn't find track: '" << ident << "'" << std::endl;
return NULL;
} // getTrack