Commit 837f8d03 authored by captainwong's avatar captainwong

save

parent 9ab8f66a
...@@ -40,7 +40,7 @@ public: ...@@ -40,7 +40,7 @@ public:
obj->on_update(target); obj->on_update(target);
++iter; ++iter;
} else { } else {
iter = _observers.erase(iter); iter = observers_.erase(iter);
} }
} }
} }
......
#pragma once #pragma once
namespace jlib namespace jlib
{ {
inline wchar_t* FormatWSAError(int errornumber) inline const wchar_t* FormatWSAError(int errornumber)
{ {
switch (errornumber) { switch (errornumber) {
case WSANOTINITIALISED: case WSANOTINITIALISED:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment