mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-20 03:19:19 +02:00
implemented geometry bank manager, unified traction render code
This commit is contained in:
8
parser.h
8
parser.h
@@ -32,9 +32,9 @@ class cParser //: public std::stringstream
|
||||
// destructor:
|
||||
virtual ~cParser();
|
||||
// methods:
|
||||
template <typename _Type>
|
||||
template <typename Type_>
|
||||
cParser&
|
||||
operator>>( _Type &Right );
|
||||
operator>>( Type_ &Right );
|
||||
template <>
|
||||
cParser&
|
||||
operator>>( std::string &Right );
|
||||
@@ -107,9 +107,9 @@ class cParser //: public std::stringstream
|
||||
std::deque<std::string> tokens;
|
||||
};
|
||||
|
||||
template<typename _Type>
|
||||
template<typename Type_>
|
||||
cParser&
|
||||
cParser::operator>>( _Type &Right ) {
|
||||
cParser::operator>>( Type_ &Right ) {
|
||||
|
||||
if( true == this->tokens.empty() ) { return *this; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user