mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-29 15:29:26 -05:00
Address clang tidy complaints
Update Ghoul repository Update SGCT repository
This commit is contained in:
@@ -31,7 +31,7 @@ namespace openspace {
|
||||
GUIKeyboardHandler::GUIKeyboardHandler() {
|
||||
_keyConsumed = false;
|
||||
|
||||
global::callback::keyboard.push_back(
|
||||
global::callback::keyboard.emplace_back(
|
||||
[&](Key, KeyModifier, KeyAction) -> bool {
|
||||
const bool previous = _keyConsumed;
|
||||
_keyConsumed = false;
|
||||
|
||||
Reference in New Issue
Block a user