We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb63be7 commit 5ee8edcCopy full SHA for 5ee8edc
2 files changed
gframe/deck_con.h
@@ -91,4 +91,4 @@ class DeckBuilder: public irr::IEventReceiver {
91
92
}
93
94
-#endif //DECK_CON
+#endif //DECK_CON_H
gframe/mysignal.h
@@ -8,13 +8,8 @@
8
9
class Signal {
10
public:
11
- Signal() {
12
- _state = false;
13
- _nowait = false;
14
- }
15
- ~Signal() {
16
-
17
+ Signal() = default;
+ ~Signal() = default;
18
void Set() {
19
std::unique_lock<std::mutex> lock(_mutex);
20
_state = true;
@@ -54,8 +49,8 @@ class Signal {
54
49
private:
55
50
std::mutex _mutex;
56
51
std::condition_variable _cond;
57
- bool _state;
58
- std::atomic<bool> _nowait;
52
+ bool _state{ false };
53
+ std::atomic<bool> _nowait{ false };
59
};
60
61
#endif // SIGNAL_H
0 commit comments