Skip to content

Commit 1a863d3

Browse files
authored
Fixes found with GCC-15 (eBay#289)
1 parent 5385987 commit 1a863d3

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,3 +113,4 @@ CMakeUserPresets.json
113113
logs/
114114
conan.lock
115115
graph_info.json
116+
.vsconan/config.json

conanfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
class SISLConan(ConanFile):
1111
name = "sisl"
12-
version = "13.1.0"
12+
version = "13.1.1"
1313

1414
homepage = "https://github.com/eBay/sisl"
1515
description = "Library for fast data structures, utilities"

include/sisl/utility/atomic_counter.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class atomic_counter {
3737
atomic_counter(const atomic_counter& other) : m_count{other.m_count.load(std::memory_order_acquire)} {}
3838
atomic_counter(atomic_counter&& other) noexcept : m_count{std::move(other.m_count)} {}
3939
atomic_counter& operator=(const atomic_counter& rhs) {
40-
if (this != &rhs) { m_count.store(rhs.load(std::memory_order_acquire), std::memory_order_release); }
40+
if (this != &rhs) { m_count.store(rhs.m_count.load(std::memory_order_acquire), std::memory_order_release); }
4141
return *this;
4242
}
4343
atomic_counter& operator=(atomic_counter&& rhs) noexcept {

0 commit comments

Comments
 (0)