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:
parent
9106fb8bfc
commit
0a2c9fc318
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user