From f78baa5f936cce8cff7359131a1e082cf6300c8b Mon Sep 17 00:00:00 2001 From: hbina085 Date: Mon, 20 May 2019 13:36:24 -0400 Subject: added a const keyword for a methods that return constant literal... --- platform/windows/os_windows.cpp | 2 +- platform/windows/os_windows.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'platform/windows') diff --git a/platform/windows/os_windows.cpp b/platform/windows/os_windows.cpp index c386fed367..4c6e4e96b5 100644 --- a/platform/windows/os_windows.cpp +++ b/platform/windows/os_windows.cpp @@ -2119,7 +2119,7 @@ void OS_Windows::request_attention() { FlashWindowEx(&info); } -String OS_Windows::get_name() { +String OS_Windows::get_name() const { return "Windows"; } diff --git a/platform/windows/os_windows.h b/platform/windows/os_windows.h index 0e0b9bf3f6..59aeb01b51 100644 --- a/platform/windows/os_windows.h +++ b/platform/windows/os_windows.h @@ -246,7 +246,7 @@ public: virtual MainLoop *get_main_loop() const; - virtual String get_name(); + virtual String get_name() const; virtual Date get_date(bool utc) const; virtual Time get_time(bool utc) const; -- cgit v1.2.3