DESKTOP-SALINGO\Salingo преди 6 години
родител
ревизия
4f5ba3ccdb
променени са 1 файла, в които са добавени 6 реда и са изтрити 6 реда
  1. 6 6
      include/igl/opengl/glfw/imgui/ImGuiTraits.h

+ 6 - 6
include/igl/opengl/glfw/imgui/ImGuiTraits.h

@@ -26,42 +26,42 @@ template<>
 class ImGuiDataTypeTraits<int>
 {
 	static constexpr ImGuiDataType value = ImGuiDataType_S32;
-	static constexpr char * format = "%d";
+	static constexpr char format [] = "%d";
 };
 
 template<>
 class ImGuiDataTypeTraits<unsigned int>
 {
 	static constexpr ImGuiDataType value = ImGuiDataType_U32;
-	static constexpr char * format = "%u";
+	static constexpr char format [] = "%u";
 };
 
 template<>
 class ImGuiDataTypeTraits<long long>
 {
 	static constexpr ImGuiDataType value = ImGuiDataType_S64;
-	static constexpr char * format = "%lld";
+	static constexpr char format [] = "%lld";
 };
 
 template<>
 class ImGuiDataTypeTraits<unsigned long long>
 {
 	static constexpr ImGuiDataType value = ImGuiDataType_U64;
-	static constexpr char * format = "%llu";
+	static constexpr char format [] = "%llu";
 };
 
 template<>
 class ImGuiDataTypeTraits<float>
 {
 	static constexpr ImGuiDataType value = ImGuiDataType_Float;
-	static constexpr char * format = "%.3f";
+	static constexpr char format [] = "%.3f";
 };
 
 template<>
 class ImGuiDataTypeTraits<double>
 {
 	static constexpr ImGuiDataType value = ImGuiDataType_Double;
-	static constexpr char * format = "%.6f";
+	static constexpr char format [] = "%.6f";
 };
 
 } // namespace ImGui