Closed Assumeru closed 3 years ago
OpenMW recently upgraded to C++17 which made VS emit a new warning:
warning C4866: compiler may not enforce left-to-right evaluation order
https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/c4866?view=vs-2019
This PR does as the article suggests and takes the value by const reference. Which worked to eliminate the warning.
Nice :) OpenMW thanks you :laughing:
OpenMW recently upgraded to C++17 which made VS emit a new warning:
https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/c4866?view=vs-2019
This PR does as the article suggests and takes the value by const reference. Which worked to eliminate the warning.