Fixed some warnings
This commit is contained in:
parent
40ce737a7e
commit
cfbb256360
@ -225,6 +225,7 @@ template <typename Type> class cItemCallback
|
|||||||
public:
|
public:
|
||||||
/// Called for each item in the internal list; return true to stop the loop, or false to continue enumerating
|
/// Called for each item in the internal list; return true to stop the loop, or false to continue enumerating
|
||||||
virtual bool Item(Type * a_Type) = 0;
|
virtual bool Item(Type * a_Type) = 0;
|
||||||
|
virtual ~cItemCallback();
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
|
|
||||||
|
@ -202,8 +202,13 @@ private:
|
|||||||
case E_BLOCK_POWERED_RAIL:
|
case E_BLOCK_POWERED_RAIL:
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default:
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
default: return false;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -275,8 +280,13 @@ private:
|
|||||||
case E_BLOCK_PISTON:
|
case E_BLOCK_PISTON:
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default:
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
default: return false;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user