projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: Make test_per_application_leaks more robust
[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.02347 seconds
and
4
git commands to generate.