Address issue #718. Should change which warning is generated, hopefully to a better one.

This commit is contained in:
John Kessenich 2017-02-08 17:31:03 -07:00
parent 509177d136
commit f8d0d8c2b8
2 changed files with 4 additions and 3 deletions

View File

@ -2,5 +2,5 @@
// For the version, it uses the latest git tag followed by the number of commits. // For the version, it uses the latest git tag followed by the number of commits.
// For the date, it uses the current date (when then script is run). // For the date, it uses the current date (when then script is run).
#define GLSLANG_REVISION "Overload400-PrecQual.1817" #define GLSLANG_REVISION "Overload400-PrecQual.1819"
#define GLSLANG_DATE "08-Feb-2017" #define GLSLANG_DATE "08-Feb-2017"

View File

@ -2335,7 +2335,8 @@ bool HlslGrammar::acceptPostfixExpression(TIntermTyped*& node)
~tFinalize() { parseContext.finalizeFlattening(); } ~tFinalize() { parseContext.finalizeFlattening(); }
HlslParseContext& parseContext; HlslParseContext& parseContext;
private: private:
tFinalize& operator=(tFinalize&) { } const tFinalize& operator=(const tFinalize& f);
tFinalize(const tFinalize& f);
} finalize(parseContext); } finalize(parseContext);
// Initialize the flattening accumulation data, so we can track data across multiple bracket or // Initialize the flattening accumulation data, so we can track data across multiple bracket or