Change various asserts to not be included in release builds
This commit is contained in:
@@ -299,7 +299,7 @@ struct SpecializedStation : public BaseStation {
|
||||
*/
|
||||
static inline T *From(BaseStation *st)
|
||||
{
|
||||
assert(IsExpected(st));
|
||||
dbg_assert(IsExpected(st));
|
||||
return (T *)st;
|
||||
}
|
||||
|
||||
@@ -310,7 +310,7 @@ struct SpecializedStation : public BaseStation {
|
||||
*/
|
||||
static inline const T *From(const BaseStation *st)
|
||||
{
|
||||
assert(IsExpected(st));
|
||||
dbg_assert(IsExpected(st));
|
||||
return (const T *)st;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user