[core] Fix google-explicit-constructor errors
As reported by clang-tidy-8.
This commit is contained in:
@@ -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.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user