From fd561cb88b1bd5ff6575aecfbba2e1da19dfccc4 Mon Sep 17 00:00:00 2001 From: janwas Date: Thu, 5 May 2011 10:50:47 +0000 Subject: [PATCH] hotloading fix on Windows refs #781 This was SVN commit r9446. --- source/lib/sysdep/os/win/wdir_watch.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/lib/sysdep/os/win/wdir_watch.cpp b/source/lib/sysdep/os/win/wdir_watch.cpp index 9c3f30cafd..e89101230c 100644 --- a/source/lib/sysdep/os/win/wdir_watch.cpp +++ b/source/lib/sysdep/os/win/wdir_watch.cpp @@ -131,7 +131,7 @@ public: return m_path; } - void AttachTo(HANDLE hIOCP) const + void AttachTo(HANDLE& hIOCP) const { AttachToCompletionPort(m_dirHandle, hIOCP, (uintptr_t)this); } @@ -299,7 +299,7 @@ class DirWatchManager { public: DirWatchManager() - : hIOCP(0) + : hIOCP(0) // Win32 requires 0-init; created in the first call to AttachTo { }