Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/KhronosGroup/SPIRV-Headers.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJohn Kessenich <cepheus@frii.com>2018-02-02 00:46:45 +0300
committerJohn Kessenich <cepheus@frii.com>2018-02-02 00:46:45 +0300
commitce309203d7eceaf908bea8862c27f3e0749f7d00 (patch)
tree90c9dfdda7ed0eef3eb2f932747a953dd421d168 /tools
parent41b45066e57a639f997d4026ae23bd846f11b5b4 (diff)
BuildHeaders: Add missing 'const'.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/buildHeaders/jsonToSpirv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/buildHeaders/jsonToSpirv.h b/tools/buildHeaders/jsonToSpirv.h
index 37d2146..b25b89e 100755
--- a/tools/buildHeaders/jsonToSpirv.h
+++ b/tools/buildHeaders/jsonToSpirv.h
@@ -166,7 +166,7 @@ private:
class EnumValue {
public:
EnumValue() : value(0), desc(nullptr) {}
- EnumValue(unsigned int the_value, const std::string& the_name, EnumCaps&& the_caps, std::string& the_version,
+ EnumValue(unsigned int the_value, const std::string& the_name, EnumCaps&& the_caps, const std::string& the_version,
Extensions&& the_extensions, OperandParameters&& the_operands) :
value(the_value), name(the_name), capabilities(std::move(the_caps)), version(std::move(the_version)),
extensions(std::move(the_extensions)), operands(std::move(the_operands)), desc(nullptr) { }
@@ -256,4 +256,4 @@ extern EnumDefinition OperandClassParams[];
}; // end namespace spv
-#endif // JSON_TO_SPIRV \ No newline at end of file
+#endif // JSON_TO_SPIRV