Copy path in BinaryRegistryReader to avoid depending on argument lifetime.
authorJarkko Pöyry <jpoyry@google.com>
Tue, 7 Jul 2015 23:17:37 +0000 (16:17 -0700)
committerJarkko Pöyry <jpoyry@google.com>
Tue, 7 Jul 2015 23:32:26 +0000 (16:32 -0700)
Change-Id: I950cfc5968a19e456c4130d958e2b881de380cb1

external/vulkancts/framework/vulkan/vkBinaryRegistry.hpp

index e8e6e93..ede6d72 100644 (file)
@@ -76,7 +76,7 @@ public:
 
 private:
        const tcu::Archive&     m_archive;
-       const std::string&      m_srcPath;
+       const std::string       m_srcPath;
 };
 
 class BinaryRegistryWriter