forked from GPSBabel/gpsbabel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor height filter to appease cppcheck & MSVC (GPSBabel#473)
* refactor heightgrid to appease cppcheck. With newer versions (somwhere after 1.82) of cppcheck analyzing height.cc took an excessive amount of time. By making these variables private static class members instead of member function static variables we avoid the cppcheck issues. * tweak height to work around MSVC 2017 error. and hopefully MSVC 2015 error as well. * don't include cstdint within class definition. It can lead to compile failures. This was done in heightgrid.h, but the include guards in cstdint hid the error.
- Loading branch information
Showing
5 changed files
with
241 additions
and
223 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.