Skip to content

Commit 6ef9731

Browse files
committed
fix: build issue
1 parent ac5c383 commit 6ef9731

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

include/plg/inplace_vector.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ namespace plg {
7878
constexpr const T *base_data() const { return data_; }
7979
constexpr void set_size(size_t n) { size_ = n; }
8080

81-
constexpr explicit ipvbase() noexcept = default;
81+
constexpr explicit ipvbase() noexcept {};
8282
ipvbase(const ipvbase& rhs)
8383
noexcept(std::is_nothrow_copy_constructible_v<T>)
8484
{
@@ -186,7 +186,7 @@ namespace plg {
186186
[[maybe_unused]] char dummy_;
187187
T data_[N];
188188
};
189-
constexpr explicit ipvbase_trivial() = default;
189+
constexpr explicit ipvbase_trivial() {};
190190
constexpr T *base_data() { return data_; }
191191
constexpr const T *base_data() const { return data_; }
192192
constexpr void set_size(size_t n) { size_ = n; }

src/core/service_locator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ struct ServiceLocator::Impl {
1616
mutable std::shared_mutex mutex;
1717

1818
// Stack of scopes (thread_local for thread safety)
19-
static thread_local std::vector<
19+
static inline thread_local std::vector<
2020
std::unordered_map<std::type_index, std::shared_ptr<void>>
2121
> scopeStack;
2222

0 commit comments

Comments
 (0)