diff options
author | Yasha Jannoo <alledodo@gmail.com> | 2019-09-12 00:41:34 +0100 |
---|---|---|
committer | Yasha Jannoo <alledodo@gmail.com> | 2019-09-12 00:41:34 +0100 |
commit | e31b0c1803d976e29b258c7307e32fd0d63821e5 (patch) | |
tree | 2bb72d12e8a7b56fbbba41c6cef71453b2bc8083 /contrib/ogg/doc/libogg | |
parent | 5d694ca25f75a8809290f6fbd865ef9fd1eec12c (diff) | |
download | starshatter-e31b0c1803d976e29b258c7307e32fd0d63821e5.zip starshatter-e31b0c1803d976e29b258c7307e32fd0d63821e5.tar.gz starshatter-e31b0c1803d976e29b258c7307e32fd0d63821e5.tar.bz2 |
Fix ill-formed and warning-causing new overloaded and delete operators
From VS2015 onwards, overloaded new and delete operators were no longer allowed to be declared inline. See https://docs.microsoft.com/en-us/cpp/porting/visual-cpp-what-s-new-2003-through-2015?view=vs-2019.
As a consequence of moving the definitions into source files, we cannot simply include the headers in the files they are required in without also either creating a static library or including the source files in the projects. Do the latter as the pattern fits other examples of dependencies across projects in the solution.
The overloaded operator definitions could be made neater in a future change. For now they are written as their declarations appear in the header file, with the same ifdefs as in the header file.
Diffstat (limited to 'contrib/ogg/doc/libogg')
0 files changed, 0 insertions, 0 deletions