From dc8bcf46c4c44a223f7c9ffb10e07fea24056008 Mon Sep 17 00:00:00 2001 From: "Zheng, Lei" Date: Sat, 12 Mar 2022 14:41:35 +0800 Subject: [PATCH] Gui: change Command::getRevision() to const --- src/Gui/Command.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Gui/Command.h b/src/Gui/Command.h index 5c135ce876..43d2f0601c 100644 --- a/src/Gui/Command.h +++ b/src/Gui/Command.h @@ -882,7 +882,7 @@ public: void updateCommands(const char* sContext, int mode); /// Return a revision number to check for addition or removal of any command - int getRevision() { return _revision; } + int getRevision() const { return _revision; } /// Signal on any addition or removal of command boost::signals2::signal signalChanged;