DESKTOP-SALINGO\Salingo 6 лет назад
Родитель
Сommit
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