The "free" private method interferes with _CRTDBG_MAP_ALLOC
Open
- Dominant language
- C++
- Stars
- 144
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Description
Visual Studio allows for the `_CRTDBG_MAP_ALLOC` macro to be defined, which replaces `malloc` and `free` with Windows' own macros for detecting memory leaks. As the preprocessor attempts to replace the `free` word in `void Config::free()`, this results in an error. What I personally did was rename the method to `void Config::do_free()`.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.