Some fixes
This commit is contained in:
parent
12b80f7af1
commit
1b9e5916f6
2
.github/workflows/sonarlint.yml
vendored
2
.github/workflows/sonarlint.yml
vendored
@ -21,7 +21,7 @@ jobs:
|
||||
run: |
|
||||
mkdir 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
|
||||
cd ..
|
||||
- name: Run sonar-scanner
|
||||
|
||||
@ -313,8 +313,8 @@ namespace cpptrace {
|
||||
}
|
||||
|
||||
namespace detail {
|
||||
std::atomic_bool absorb_trace_exceptions(true);
|
||||
std::atomic<enum cache_mode> cache_mode(cache_mode::prioritize_speed);
|
||||
std::atomic_bool absorb_trace_exceptions(true); // NOSONAR
|
||||
std::atomic<enum cache_mode> cache_mode(cache_mode::prioritize_speed); // NOSONAR
|
||||
}
|
||||
|
||||
CPPTRACE_API void absorb_trace_exceptions(bool absorb) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user