Skip to content

Commit

Permalink
Removed legacy mutex naming in template
Browse files Browse the repository at this point in the history
  • Loading branch information
gwaldron authored Feb 21, 2024
1 parent e4b82aa commit 43237fd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/osgEarth/Containers
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ namespace osgEarth { namespace Util
template<typename T>
struct PerThread : public std::mutex
{
PerThread() : std::mutex() { }
PerThread() { }

T& get() {
std::lock_guard<std::mutex> lock(*this);
Expand Down Expand Up @@ -632,7 +632,6 @@ namespace osgEarth { namespace Util
struct PerObjectFastMap
{
PerObjectFastMap() { }
PerObjectFastMap(const std::string& name) : _mutex(name) { }
bool threadsafe = true;

struct Functor {
Expand Down

0 comments on commit 43237fd

Please sign in to comment.