Skip to content

Commit

Permalink
Fix conventions.
Browse files Browse the repository at this point in the history
  • Loading branch information
nitrocaster committed Nov 15, 2015
1 parent e6c0300 commit 16dba88
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/xrCore/Threading/Lock.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ class XRCORE_API Lock
{
public:
#ifdef CONFIG_PROFILE_LOCKS
Lock(const char *id) : isLocked(false), id(id) { }
Lock(const char *id) : isLocked(false), id(id) {}
#else
Lock() : isLocked(false) { }
Lock() : isLocked(false) {}
#endif

Lock(const Lock &) = delete;
Expand All @@ -42,9 +42,7 @@ class XRCORE_API Lock
{
bool locked = mutex.try_lock();
if (locked)
{
isLocked = true;
}
return locked;
}

Expand Down

0 comments on commit 16dba88

Please sign in to comment.