Skip to content

Commit

Permalink
FORCEINLINE removed keyword only supports MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
cppLawyer committed May 28, 2022
1 parent 8c0ce66 commit 8f66f3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions safeQueue.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,11 @@ namespace safe {
}
return main_Mem[0];
}
FORCEINLINE bool empty() {
inline bool empty() {
lg em(sQmutex);
return (size == 0);
}
FORCEINLINE size_t sizeQ() {
inline size_t sizeQ() {
lg sizlg(sQmutex);
return this->size;
}
Expand Down

0 comments on commit 8f66f3d

Please sign in to comment.