fix compilation with -DDEBUG_WINDOWS

This commit is contained in:
gagarinlg
2022-07-24 16:26:58 +02:00
parent 87ef19a9de
commit d76c6415c9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ void DialogWindowContent::updateSize()
} }
#if defined(DEBUG_WINDOWS) #if defined(DEBUG_WINDOWS)
std::string DialogWindowContent::getName() const override std::string DialogWindowContent::getName() const
{ {
return "DialogWindowContent"; return "DialogWindowContent";
} }
+1 -1
View File
@@ -248,7 +248,7 @@ std::string Window::getIndentString() const
return result; return result;
} }
std::string Window::getWindowDebugString(const char *name = nullptr) const std::string Window::getWindowDebugString(const char *name) const
{ {
return getName() + (name ? std::string(" [") + name + "] " : " ") + return getName() + (name ? std::string(" [") + name + "] " : " ") +
getRectString(); getRectString();