mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2024-11-22 10:40:00 +08:00
Resolve unused varaible warning in _WIN32 builds of screen_interactive.cpp (#693)
Marks constexpr int timeout_microseconds on line 73 as [[maybe_unused]] to resolve unused variable warning on _WIN32 builds.
This commit is contained in:
parent
de6749fed7
commit
afb03620da
@ -70,7 +70,7 @@ void Flush() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
constexpr int timeout_milliseconds = 20;
|
constexpr int timeout_milliseconds = 20;
|
||||||
constexpr int timeout_microseconds = timeout_milliseconds * 1000;
|
[[maybe_unused]] constexpr int timeout_microseconds = timeout_milliseconds * 1000;
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
|
|
||||||
void EventListener(std::atomic<bool>* quit, Sender<Task> out) {
|
void EventListener(std::atomic<bool>* quit, Sender<Task> out) {
|
||||||
|
Loading…
Reference in New Issue
Block a user