From 6f6337cbf5a67b46c88f113e6c14027af4d1fb6d Mon Sep 17 00:00:00 2001 From: Alexander Akulich Date: Tue, 12 Jul 2022 22:23:35 +0300 Subject: [PATCH] CDemoPlayer: Mark GetMapInfo() const --- src/engine/shared/demo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/shared/demo.h b/src/engine/shared/demo.h index 398ae0410..1c270e73c 100644 --- a/src/engine/shared/demo.h +++ b/src/engine/shared/demo.h @@ -151,7 +151,7 @@ public: const CPlaybackInfo *Info() const { return &m_Info; } bool IsPlaying() const override { return m_File != nullptr; } - const CMapInfo *GetMapInfo() { return &m_MapInfo; } + const CMapInfo *GetMapInfo() const { return &m_MapInfo; } }; class CDemoEditor : public IDemoEditor, public CDemoPlayer::IListener