Turn on all warnings, except reorder, and fix remaining warnings
This commit is contained in:
parent
50ed84c1bd
commit
99cd93ae22
4 changed files with 10 additions and 3 deletions
|
@ -19,7 +19,7 @@ COrder GetOrderFromString( const std::string& _order )
|
|||
std::string order = _order;
|
||||
COrder ret;
|
||||
|
||||
int pos = order.find(ORDER_DELIMITER);
|
||||
size_t pos = order.find(ORDER_DELIMITER);
|
||||
if( pos != std::string::npos )
|
||||
{
|
||||
const std::string order_unit = order.substr(0, pos);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue