Skip to content

Commit d6ab9d6

Browse files
committed
Renamed priomutex to PrioMutex
1 parent 8569f65 commit d6ab9d6

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/include/cpputils2/linux/priomutex/priomutex.hpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
namespace CppUtils2
88
{
99

10-
class priomutex
10+
class PrioMutex
1111
{
1212

1313
public:
1414
using native_handle_type = pthread_mutex_t *;
1515

16-
priomutex()
16+
PrioMutex()
1717
{
1818
initialized = false;
1919
pthread_mutexattr_t attr;
@@ -39,13 +39,13 @@ namespace CppUtils2
3939
initialized = true;
4040
}
4141

42-
virtual ~priomutex()
42+
virtual ~PrioMutex()
4343
{
4444
pthread_mutex_destroy(&pt_mutex);
4545
}
4646

47-
priomutex(const priomutex &) = delete;
48-
priomutex &operator=(const priomutex &) = delete;
47+
PrioMutex(const PrioMutex &) = delete;
48+
PrioMutex &operator=(const PrioMutex &) = delete;
4949

5050
void lock()
5151
{

src/test/cpputils2_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ namespace
171171

172172
TEST(PriorityMutex, PriorityMutex)
173173
{
174-
CppUtils2::priomutex mutex;
174+
CppUtils2::PrioMutex mutex;
175175
bool is_initialized = mutex.is_initialized();
176176
EXPECT_TRUE(is_initialized);
177177
mutex.lock();

0 commit comments

Comments
 (0)