diff options
author | Oliver Stöneberg <firewave@users.noreply.github.com> | 2020-01-31 02:01:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-30 20:01:48 -0500 |
commit | 059243f68ec0c2e327a3105a9480f50e5e0b4abf (patch) | |
tree | cbf132320ebc93ae4c58d60fd3a5ed834c2e8862 /src/osd/windows | |
parent | 06ecc1ca0d96a7d9cc66aab6a5aa8b8f0265fa09 (diff) |
fixed some clang-tidy warnings (nw) (#6236)
* fixed some modernize-redundant-void-arg clang-tidy warnings (nw)
* fixed some modernize-use-bool-literals clang-tidy warnings (nw)
* fixed some modernize-use-emplace clang-tidy warnings (nw)
* fixed some performance-move-const-arg clang-tidy warnings (nw)
* fixed some readability-redundant-control-flow clang-tidy warnings (nw)
* fixed some readability-redundant-string-cstr clang-tidy warnings (nw)
* fixed some performance-unnecessary-value-param clang-tidy warnings (nw)
Diffstat (limited to 'src/osd/windows')
-rw-r--r-- | src/osd/windows/window.cpp | 14 | ||||
-rw-r--r-- | src/osd/windows/winutil.cpp | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/src/osd/windows/window.cpp b/src/osd/windows/window.cpp index ce63d28eba6..7def4360578 100644 --- a/src/osd/windows/window.cpp +++ b/src/osd/windows/window.cpp @@ -116,7 +116,7 @@ static bool s_aggressive_focus; //============================================================ -static void create_window_class(void); +static void create_window_class(); //============================================================ // window_init @@ -577,7 +577,7 @@ void winwindow_dispatch_message(running_machine &machine, MSG *message) // (main thread) //============================================================ -void winwindow_take_snap(void) +void winwindow_take_snap() { assert(GetCurrentThreadId() == main_threadid); @@ -595,7 +595,7 @@ void winwindow_take_snap(void) // (main thread) //============================================================ -void winwindow_toggle_fsfx(void) +void winwindow_toggle_fsfx() { assert(GetCurrentThreadId() == main_threadid); @@ -613,7 +613,7 @@ void winwindow_toggle_fsfx(void) // (main thread) //============================================================ -void winwindow_take_video(void) +void winwindow_take_video() { assert(GetCurrentThreadId() == main_threadid); @@ -631,7 +631,7 @@ void winwindow_take_video(void) // (main thread) //============================================================ -void winwindow_toggle_full_screen(void) +void winwindow_toggle_full_screen() { assert(GetCurrentThreadId() == main_threadid); @@ -658,7 +658,7 @@ void winwindow_toggle_full_screen(void) // (main or window thread) //============================================================ -bool winwindow_has_focus(void) +bool winwindow_has_focus() { // see if one of the video windows has focus for (const auto &window : osd_common_t::s_window_list) @@ -930,7 +930,7 @@ void win_window_info::update() // (main thread) //============================================================ -static void create_window_class(void) +static void create_window_class() { static int classes_created = FALSE; diff --git a/src/osd/windows/winutil.cpp b/src/osd/windows/winutil.cpp index c06b4d2eee2..b662974cfd1 100644 --- a/src/osd/windows/winutil.cpp +++ b/src/osd/windows/winutil.cpp @@ -51,7 +51,7 @@ std::chrono::system_clock::time_point win_time_point_from_filetime(LPFILETIME fi // win_is_gui_application //============================================================ -BOOL win_is_gui_application(void) +BOOL win_is_gui_application() { static BOOL is_gui_frontend; static BOOL is_first_time = TRUE; |