Closed DanRStevens closed 9 months ago
Use a reference to work around buggy MSVC warning:
OPHD\libControls\ScrollBar.cpp(250): error C26478: Don't use std::move on constant variables.
Example problem run: https://github.com/OutpostUniverse/OPHD/actions/runs/7684040546
The original code perhaps makes slightly more sense, but has been generating a warning with recent MSVC compiler releases. A fix has supposedly been released, but doesn't seem to be present on GitHub Action runners.
References:
Related to Issue #307
Use a reference to work around buggy MSVC warning:
Example problem run: https://github.com/OutpostUniverse/OPHD/actions/runs/7684040546
The original code perhaps makes slightly more sense, but has been generating a warning with recent MSVC compiler releases. A fix has supposedly been released, but doesn't seem to be present on GitHub Action runners.
References:
Related to Issue #307