diff options
author | John Kessenich <cepheus@frii.com> | 2018-02-02 00:46:45 +0300 |
---|---|---|
committer | John Kessenich <cepheus@frii.com> | 2018-02-02 00:46:45 +0300 |
commit | ce309203d7eceaf908bea8862c27f3e0749f7d00 (patch) | |
tree | 90c9dfdda7ed0eef3eb2f932747a953dd421d168 /tools | |
parent | 41b45066e57a639f997d4026ae23bd846f11b5b4 (diff) |
BuildHeaders: Add missing 'const'.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/buildHeaders/jsonToSpirv.h | 4 |
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 |