Răsfoiți Sursa

Make ComputedValues constructor explicit

Michael Ragazzon 2 ani în urmă
părinte
comite
12193df397
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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