зеркало из https://github.com/stride3d/xkslang.git
Parser: Fix a build issue (VS2012).
This commit is contained in:
Родитель
5ace09a75b
Коммит
4e8bf59778
|
@ -357,8 +357,9 @@ public:
|
|||
{
|
||||
static const char unexpected_include[] =
|
||||
"unexpected include directive";
|
||||
return new IncludeResult(
|
||||
{"", unexpected_include, sizeof(unexpected_include) - 1, nullptr});
|
||||
static const IncludeResult unexpectedIncludeResult =
|
||||
{"", unexpected_include, sizeof(unexpected_include) - 1, nullptr};
|
||||
return new IncludeResult(unexpectedIncludeResult);
|
||||
}
|
||||
virtual void releaseInclude(IncludeResult* result) override
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче