diff options
| author | bitflash-maintainer <noreply@bitflash.invalid> | 2026-09-03 21:49:26 +0000 |
|---|---|---|
| committer | bitflash-maintainer <noreply@bitflash.invalid> | 2026-09-03 21:49:26 +0000 |
| commit | 5210bd66bb3837c7f8c6e551abc7088e9eb0b36f (patch) | |
| tree | ee098e4a9e6cdbd2451481bc9ae169fef29d32ea /src/util.h | |
| parent | ad62cfc9e7301a5ac456b92fa31523a516688d30 (diff) | |
| parent | b8a976f4870ba5dfc7a6af1ea09c9277b71d686c (diff) | |
merge: !4 fix/robustness into deploy/all-2026-08-24
Diffstat (limited to 'src/util.h')
| -rw-r--r-- | src/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -199,7 +199,7 @@ protected: | |||
| 199 | public: | 199 | public: |
| 200 | char* pszFile; | 200 | char* pszFile; |
| 201 | int nLine; | 201 | int nLine; |
| 202 | explicit CCriticalSection() { InitializeCriticalSection(&cs); } | 202 | explicit CCriticalSection() : pszFile(NULL), nLine(0) { InitializeCriticalSection(&cs); } |
| 203 | ~CCriticalSection() { DeleteCriticalSection(&cs); } | 203 | ~CCriticalSection() { DeleteCriticalSection(&cs); } |
| 204 | void Enter() { EnterCriticalSection(&cs); } | 204 | void Enter() { EnterCriticalSection(&cs); } |
| 205 | void Leave() { LeaveCriticalSection(&cs); } | 205 | void Leave() { LeaveCriticalSection(&cs); } |