diff --git a/test/image_loader_test.cpp b/test/image_loader_test.cpp index 94fc26cb..1dd4888f 100644 --- a/test/image_loader_test.cpp +++ b/test/image_loader_test.cpp @@ -6,14 +6,16 @@ using namespace irr; -struct ImageDesc { +struct ImageDesc +{ const char *name; video::ECOLOR_FORMAT format; std::vector data; }; template -std::vector to_byte_array(std::initializer_list in_data) { +std::vector to_byte_array(std::initializer_list in_data) +{ std::vector data; data.resize(sizeof(T) * in_data.size()); memcpy(data.data(), in_data.begin(), data.size()); @@ -114,7 +116,7 @@ try { throw std::runtime_error("Invalid arguments. Expected sample ID and image file name"); const ImageDesc *sample = nullptr; - for (auto &&image: test_images) { + for (auto &&image : test_images) { if (strcmp(argv[1], image.name) == 0) sample = ℑ }