Only compile OrderList::DebugCheckSanity when WITH_ASSERT defined

This commit is contained in:
Jonathan G Rennison
2024-01-02 14:48:57 +00:00
parent be4f8b91c6
commit 9ea49d6680
4 changed files with 9 additions and 1 deletions

View File

@@ -967,7 +967,9 @@ public:
void FreeChain(bool keep_orderlist = false);
#ifdef WITH_ASSERT
void DebugCheckSanity() const;
#endif
bool CheckOrderListIndexing() const;
inline std::vector<DispatchSchedule> &GetScheduledDispatchScheduleSet() { return this->dispatch_schedules; }