]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/threading/event.h
Fix BSD iconv declaration
[dragonfireclient.git] / src / threading / event.h
index 458864c8204bbc5cefa05876b7cbe32fcb90b81b..ac6bd5129c4f7e64c59fb94d4fbb60d6fbadc241 100644 (file)
@@ -23,13 +23,9 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 DEALINGS IN THE SOFTWARE.
 */
 
-#ifndef THREADING_EVENT_H
-#define THREADING_EVENT_H
-
-#include "threads.h"
+#pragma once
 
 #include <condition_variable>
-#include "threading/mutex_auto_lock.h"
 
 /** A syncronization primitive that will wake up one waiting thread when signaled.
  * Calling @c signal() multiple times before a waiting thread has had a chance
@@ -48,5 +44,3 @@ class Event
        std::mutex mutex;
        bool notified = false;
 };
-
-#endif