diff options
author | MJacred <loesch.benny92@gmx.de> | 2023-05-27 18:21:23 +0200 |
---|---|---|
committer | MJacred <loesch.benny92@gmx.de> | 2023-05-27 18:21:23 +0200 |
commit | 9e5bf3d589fec3f342231fd9e0a16b03b83469d3 (patch) | |
tree | e5bb581c4a46480906c5aea78fda4a90eeb8b169 /platform/uwp/os_uwp.cpp | |
parent | 809a98216267f3066b9fec2f02b2042bdc9d3e0d (diff) | |
download | redot-engine-9e5bf3d589fec3f342231fd9e0a16b03b83469d3.tar.gz |
Copy system info to clipboard + Update bug_report.yml
plus minor static-related fixes
* linuxbsd: get_systemd_os_release_info_value() -> static breaks usage if used multiple times
* windows/linuxbsd: get_video_adapter_driver_info() writes info into static
* linuxbsd: get_distribution_name() + get_version() -> write bsd fallback into static variable
* windows/uwp/android: remove unnecessary use of static
Diffstat (limited to 'platform/uwp/os_uwp.cpp')
-rw-r--r-- | platform/uwp/os_uwp.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/platform/uwp/os_uwp.cpp b/platform/uwp/os_uwp.cpp index 38df68c764..df7923660c 100644 --- a/platform/uwp/os_uwp.cpp +++ b/platform/uwp/os_uwp.cpp @@ -450,8 +450,7 @@ String OS_UWP::get_distribution_name() const { String OS_UWP::get_version() const { winrt::hstring df_version = VersionInfo().DeviceFamilyVersion(); - static String version = String(winrt::to_string(df_version).c_str()); - return version; + return String(winrt::to_string(df_version).c_str()); } OS::DateTime OS_UWP::get_datetime(bool p_utc) const { |