Skip to content

Commit

Permalink
[bugfix] fix compile error caused by shared_mutex
Browse files Browse the repository at this point in the history
Fixes: error: ‘shared_mutex’ is not a member of ‘std’
  • Loading branch information
baoguo-ma1 committed Aug 31, 2023
1 parent bc4f977 commit e352e53
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/UtilsCtrl/UtilsDefine.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
#include <iostream>
#include <string>

#if __cplusplus >= 201703L
#include <shared_mutex>
#endif

#include "../CBasic/CBasicInclude.h"
#include "UAllocator.h"
#include "UtilsFunction.h"
Expand Down

0 comments on commit e352e53

Please sign in to comment.