Source/Core/Common/Config/Config.cpp: add missing <mutex> include

Noticed missing include as a build failure on gcc-11:

```
[ 15%] Building CXX object Source/Core/Common/CMakeFiles/common.dir/Config/Config.cpp.o
Source/Core/Common/Config/Config.cpp:23:24:
  error: 'unique_lock' in namespace 'std' does not name a template type
    23 | using WriteLock = std::unique_lock<std::shared_mutex>;
        |                        ^~~~~~~~~~~
Source/Core/Common/Config/Config.cpp:11:1:
  note: 'std::unique_lock' is defined in header '<mutex>';
  did you forget to '#include <mutex>'?
```

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
This commit is contained in:
Sergei Trofimovich 2020-10-28 08:51:34 +00:00
parent 52d8b51f56
commit 447de580ab
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@
#include <algorithm>
#include <list>
#include <map>
#include <mutex>
#include <shared_mutex>
#include "Common/Config/Config.h"