graphitemaster / glsl-parser

A GLSL parser
MIT License
260 stars 30 forks source link

Use specific calls to std::find to appease clang #2

Closed julik closed 8 years ago

julik commented 8 years ago

When compiling on OSX 10.11 (clang-703.0.29) the compiler complains that the call to find is ambiguous. I presume the call needed here is the one for std::find. Setting the namespace explicitly resolves the issue, tests pass.

julik commented 8 years ago

Already mentioned in https://github.com/graphitemaster/glsl-parser/pull/1

graphitemaster commented 8 years ago

util.h contains find()