Browse Source

Make ComputedValues constructor explicit

Michael Ragazzon 2 years ago
parent
commit
12193df397
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Include/RmlUi/Core/ComputedValues.h

+ 1 - 1
Include/RmlUi/Core/ComputedValues.h

@@ -199,7 +199,7 @@ namespace Style {
 
 	class ComputedValues : NonCopyMoveable {
 	public:
-		ComputedValues(Element* element) : element(element) {}
+		explicit ComputedValues(Element* element) : element(element) {}
 
 		// clang-format off