1
0
forked from 0ad/0ad

hotloading fix on Windows

refs #781

This was SVN commit r9446.
This commit is contained in:
janwas 2011-05-05 10:50:47 +00:00
parent a741fb2f33
commit fd561cb88b

View File

@ -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
{
}