projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
docs: fix: Match stated automake requirement
[lttng-tools.git]
/
src
/
common
/
pthread-lock.hpp
diff --git
a/src/common/pthread-lock.hpp
b/src/common/pthread-lock.hpp
index d772187172f2987409190a3f3f1b8b3f07e03373..7d037e47226cf2469503bf30b8073915fb134349 100644
(file)
--- a/
src/common/pthread-lock.hpp
+++ b/
src/common/pthread-lock.hpp
@@
-10,8
+10,8
@@
#include <common/exception.hpp>
#include <common/exception.hpp>
-#include <pthread.h>
#include <mutex>
#include <mutex>
+#include <pthread.h>
namespace lttng {
namespace pthread {
namespace lttng {
namespace pthread {
@@
-26,7
+26,7
@@
namespace details {
*/
class mutex {
public:
*/
class mutex {
public:
- explicit mutex(pthread_mutex_t& mutex_p) : _mutex
{ mutex_p }
+ explicit mutex(pthread_mutex_t& mutex_p) : _mutex
(mutex_p)
{
}
{
}
@@
-80,7
+80,7
@@
private:
*/
class lock_guard {
public:
*/
class lock_guard {
public:
- explicit lock_guard(pthread_mutex_t& mutex) : _mutex
{ mutex }
, _guard(_mutex)
+ explicit lock_guard(pthread_mutex_t& mutex) : _mutex
(mutex)
, _guard(_mutex)
{
}
{
}
This page took
0.027795 seconds
and
4
git commands to generate.