Skip to content

Commit 1f37069

Browse files
committed
test
1 parent 4025a28 commit 1f37069

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

cmake/ConfigureSpdlog.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ ExternalProject_Add(spdlog
2626
BINARY_DIR ${SPDLOG_PATH}/build
2727
STAMP_DIR ${SPDLOG_PATH}/stamp
2828
GIT_REPOSITORY https://github.com/gabime/spdlog
29-
GIT_TAG v1.17.0
29+
GIT_TAG v1.14.1
3030
GIT_SHALLOW ON
3131
GIT_PROGRESS ON
3232
CMAKE_GENERATOR ${CMAKE_GENERATOR}

include/geode/basic/attribute_manager.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ namespace geode
6060
[[nodiscard]] std::shared_ptr< AttributeBase > find_generic_attribute(
6161
std::string_view name ) const
6262
{
63-
absl::ReaderMutexLock lock{ mutex() };
63+
absl::ReaderMutexLock lock{ &mutex() };
6464
return find_attribute_base( name );
6565
}
6666

@@ -74,7 +74,7 @@ namespace geode
7474
[[nodiscard]] std::shared_ptr< ReadOnlyAttribute< T > > find_attribute(
7575
std::string_view name ) const
7676
{
77-
absl::ReaderMutexLock lock{ mutex() };
77+
absl::ReaderMutexLock lock{ &mutex() };
7878
auto attribute =
7979
std::dynamic_pointer_cast< ReadOnlyAttribute< T > >(
8080
find_attribute_base( name ) );
@@ -110,7 +110,7 @@ namespace geode
110110
AttributeProperties properties )
111111
{
112112
{
113-
absl::ReaderMutexLock lock{ mutex() };
113+
absl::ReaderMutexLock lock{ &mutex() };
114114
auto attribute = find_attribute_base( name );
115115
auto typed_attribute =
116116
std::dynamic_pointer_cast< Attribute< T > >( attribute );
@@ -119,7 +119,7 @@ namespace geode
119119
return typed_attribute;
120120
}
121121
}
122-
absl::MutexLock lock{ mutex() };
122+
absl::MutexLock lock{ &mutex() };
123123
auto attribute = find_attribute_base( name );
124124
auto typed_attribute =
125125
std::dynamic_pointer_cast< Attribute< T > >( attribute );

include/geode/basic/cached_value.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ namespace geode
7474
{
7575
if( !computed_ )
7676
{
77-
absl::MutexLock lock{ mutex_ };
77+
absl::MutexLock lock{ &mutex_ };
7878
if( !computed_ )
7979
{
8080
value_ = computer( std::forward< Args >( args )... );

src/geode/basic/attribute_manager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ namespace geode
163163

164164
void delete_attribute( std::string_view name )
165165
{
166-
absl::MutexLock lock{ mutex_ };
166+
absl::MutexLock lock{ &mutex_ };
167167
const auto attribute_it = attributes_.find( name );
168168
if( attribute_it != attributes_.end() )
169169
{

0 commit comments

Comments
 (0)