Some fixes

This commit is contained in:
Jeremy 2023-10-05 11:07:46 -04:00
parent 12b80f7af1
commit 1b9e5916f6
No known key found for this signature in database
GPG Key ID: 19AA8270105E8EB4
2 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ jobs:
run: | run: |
mkdir build mkdir build
cd build cd build
cmake .. -DCMAKE_BUILD_TYPE=Debug -DCPPTRACE_BUILD_DEMO=On -DCPPTRACE_BUILD_TEST=On -DCMAKE_EXPORT_COMPILE_COMMANDS=On cmake .. -DCMAKE_BUILD_TYPE=Debug -DCPPTRACE_BUILD_DEMO=On -DCPPTRACE_BUILD_TEST=On -DCMAKE_EXPORT_COMPILE_COMMANDS=On -DCMAKE_CXX_STANDARD=11
make -j make -j
cd .. cd ..
- name: Run sonar-scanner - name: Run sonar-scanner

View File

@ -313,8 +313,8 @@ namespace cpptrace {
} }
namespace detail { namespace detail {
std::atomic_bool absorb_trace_exceptions(true); std::atomic_bool absorb_trace_exceptions(true); // NOSONAR
std::atomic<enum cache_mode> cache_mode(cache_mode::prioritize_speed); std::atomic<enum cache_mode> cache_mode(cache_mode::prioritize_speed); // NOSONAR
} }
CPPTRACE_API void absorb_trace_exceptions(bool absorb) { CPPTRACE_API void absorb_trace_exceptions(bool absorb) {