[core] Fix google-explicit-constructor errors

As reported by clang-tidy-8.
This commit is contained in:
Thiago Marcos P. Santos
2020-03-27 17:43:37 +02:00
parent 65f4df5190
commit 62b543e44a
10 changed files with 12 additions and 20 deletions

View File

@@ -17,7 +17,7 @@ private:
struct Key { explicit Key() = default; };
public:
GLXDisplayConfig(Key) {
explicit GLXDisplayConfig(Key) {
if (!XInitThreads()) {
throw std::runtime_error("Failed to XInitThreads.");
}