mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-04 11:35:06 +03:00
NK-102 - Added 'const'
This commit is contained in:
@@ -9,7 +9,7 @@ void PopupHelper::Confirmation(const std::string& id)
|
||||
ImGui::OpenPopup(id.c_str());
|
||||
}
|
||||
|
||||
bool PopupHelper::DefineDialog(std::string& id, std::string& text)
|
||||
bool PopupHelper::DefineDialog(const std::string& id, const std::string& text)
|
||||
{
|
||||
bool result = false;
|
||||
|
||||
|
||||
@@ -5,5 +5,5 @@ class PopupHelper
|
||||
{
|
||||
public:
|
||||
static void Confirmation(const std::string& id);
|
||||
static bool DefineDialog(std::string& id, std::string& text);
|
||||
static bool DefineDialog(const std::string& id, const std::string& text);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user