mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-23 13:41:02 +00:00
Reformat code + small fixes
This commit is contained in:
@@ -13,8 +13,8 @@ namespace utils
|
||||
{
|
||||
public:
|
||||
static_assert(!std::is_reference<F>::value && !std::is_const<F>::value &&
|
||||
!std::is_volatile<F>::value,
|
||||
"Final_action should store its callable by value");
|
||||
!std::is_volatile<F>::value,
|
||||
"Final_action should store its callable by value");
|
||||
|
||||
explicit final_action(F f) noexcept : f_(std::move(f))
|
||||
{
|
||||
@@ -52,4 +52,4 @@ namespace utils
|
||||
return final_action<typename std::remove_cv<typename std::remove_reference<F>::type>::type>(
|
||||
std::forward<F>(f));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#ifdef OS_WINDOWS
|
||||
#ifdef WIN32
|
||||
|
||||
#define NOMINMAX
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
@@ -86,4 +86,4 @@ namespace utils::nt
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -21,6 +21,6 @@ namespace utils
|
||||
}
|
||||
|
||||
private:
|
||||
typename Clock::time_point point_{ Clock::now() };
|
||||
typename Clock::time_point point_{Clock::now()};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user