layers: Fix compiler warning in ObjectTracker
authorMark Lobodzinski <mark@lunarg.com>
Thu, 11 Jun 2015 18:51:41 +0000 (13:51 -0500)
committerMark Lobodzinski <mark@lunarg.com>
Thu, 11 Jun 2015 18:51:41 +0000 (13:51 -0500)
Function validate_object should return VOID.

vk-layer-generate.py

index cadf8d540b0c7e77809f39723b9a76833335cd4b..215b246d26322970538764064c49a3db7cbe2b1b 100755 (executable)
@@ -870,7 +870,7 @@ class ObjectTrackerSubcommand(Subcommand):
         header_txt.append('}')
         header_txt.append('')
         header_txt.append('// Validate that object is in the object map')
-        header_txt.append('static bool32_t validate_object(const VkObject object)')
+        header_txt.append('static void validate_object(const VkObject object)')
         header_txt.append('{')
         header_txt.append('    if (objMap.find(object) == objMap.end()) {')
         header_txt.append('        char str[1024];')