Skip to content

Commit 138b803

Browse files
committed
xrCore: fix code style
1 parent 68389c6 commit 138b803

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

src/xrCore/LocatorAPI_defs.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ FS_File::FS_File(const xr_string& nm, const _FINDDATA_T& f)
2424
set(nm, f.size, f.time_write, (f.attrib & _A_SUBDIR) ? flSubDir : 0);
2525
}
2626
#else
27-
FS_File::FS_File(const _FINDDATA_T& f) { ; }
28-
FS_File::FS_File(const xr_string& nm, const _FINDDATA_T& f) { ; }
27+
FS_File::FS_File(const _FINDDATA_T& f) {}
28+
FS_File::FS_File(const xr_string& nm, const _FINDDATA_T& f) {}
2929
#endif
3030

3131

src/xrCore/Threading/Event.hpp

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@ class XRCORE_API Event
66
#if defined(WINDOWS)
77
void* handle;
88
#elif defined(LINUX)
9-
struct EventHandle
10-
{
11-
pthread_mutex_t mutex;
12-
pthread_cond_t cond;
13-
bool signaled;
14-
};
9+
struct EventHandle
10+
{
11+
pthread_mutex_t mutex;
12+
pthread_cond_t cond;
13+
bool signaled;
14+
};
1515
pthread_mutex_t handle;
1616

1717
private:
18-
EventHandle m_id;
18+
EventHandle m_id;
1919
#endif
2020

2121
public:
@@ -27,9 +27,9 @@ class XRCORE_API Event
2727
// Set the event to the signalled state.
2828
void Set() noexcept;
2929
// Wait indefinitely for the object to become signalled.
30-
void Wait() const noexcept;
30+
void Wait() noexcept;
3131
// Wait, with a time limit, for the object to become signalled.
32-
bool Wait(u32 millisecondsTimeout) const noexcept;
32+
bool Wait(u32 millisecondsTimeout) noexcept;
3333

34-
void* GetHandle() const noexcept { return handle; }
34+
void* GetHandle() noexcept { return handle; }
3535
};

0 commit comments

Comments
 (0)