aboutsummaryrefslogtreecommitdiff
path: root/zencore/thread.cpp
diff options
context:
space:
mode:
authorMartin Ridgers <[email protected]>2021-11-11 14:41:24 +0100
committerMartin Ridgers <[email protected]>2021-11-11 14:41:24 +0100
commit2ed86aa10655523a1764058c56cd3fee861611a9 (patch)
tree3fc5f503803fccf5bc11e86835d9076758072626 /zencore/thread.cpp
parentImplement NamedEvent on POSIX using Unix-domain sockets (diff)
downloadzen-2ed86aa10655523a1764058c56cd3fee861611a9.tar.xz
zen-2ed86aa10655523a1764058c56cd3fee861611a9.zip
Windows compile fix
Diffstat (limited to 'zencore/thread.cpp')
-rw-r--r--zencore/thread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/zencore/thread.cpp b/zencore/thread.cpp
index 0b9534c39..7f8042ae0 100644
--- a/zencore/thread.cpp
+++ b/zencore/thread.cpp
@@ -266,9 +266,9 @@ NamedEvent::NamedEvent(std::string_view EventName)
PathLen -= 1;
# endif
EventName.copy(PathPtr, PathLen);
-#endif
m_EventHandle = Inner;
+#endif
}
NamedEvent::~NamedEvent()