#include <type_traits>
#include <utility>
-#include "cJSON.h"
-#include "vk_sdk_platform.h"
+#include <cJSON.h>
+#include <vulkan/vk_sdk_platform.h>
namespace {
Iterate(visitor, const_cast<T*>(&t));
}
-template <typename T, typename = EnableForStruct<T>, typename = void>
+template <typename T, typename /*= EnableForStruct<T>*/, typename /*= void*/>
cJSON* ToJsonValue(const T& value) {
JsonWriterVisitor visitor;
VisitForWrite(&visitor, value);
std::string* errors_;
};
-template <typename T, typename = EnableForStruct<T>>
+template <typename T, typename /*= EnableForStruct<T>*/>
bool AsValue(cJSON* json_value, T* t) {
if (json_value->type != cJSON_Object)
return false;
properties.layers.data());
}
- VkFormatProperties format_properties = {0};
+ VkFormatProperties format_properties = {};
for (VkFormat format = VK_FORMAT_R4G4_UNORM_PACK8;
format <= VK_FORMAT_END_RANGE;
format = static_cast<VkFormat>(format + 1)) {