diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2019-05-21 15:16:41 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-05-21 15:16:41 +0200 |
| commit | 26e0cc7aa36de99ad2f915388cd57bd94df4b66e (patch) | |
| tree | e066cae5309b5d15bfc7c9be630c0b9e8cf1b03d /platform/windows | |
| parent | e3ead06c1d16cc1e7a0b4bd0434605cfa4f2eb3f (diff) | |
| parent | f78baa5f936cce8cff7359131a1e082cf6300c8b (diff) | |
Merge pull request #29041 from hbina/add_const
add const to methods that return literals
Diffstat (limited to 'platform/windows')
| -rw-r--r-- | platform/windows/os_windows.cpp | 2 | ||||
| -rw-r--r-- | platform/windows/os_windows.h | 2 |
2 files changed, 2 insertions, 2 deletions
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; |