Skip to content

Commit 1e4aa11

Browse files
author
Vitaly Baranov
authored
Choose active implementation only once. (simdjson#1044)
1 parent 90cc141 commit 1e4aa11

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/implementation.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@ class detect_best_supported_implementation_on_first_use final : public implement
5858

5959
const detect_best_supported_implementation_on_first_use detect_best_supported_implementation_on_first_use_singleton;
6060

61-
internal::atomic_ptr<const implementation> active_implementation{&internal::detect_best_supported_implementation_on_first_use_singleton};
62-
6361
const std::initializer_list<const implementation *> available_implementation_pointers {
6462
#if SIMDJSON_IMPLEMENTATION_HASWELL
6563
&haswell_singleton,

0 commit comments

Comments
 (0)