fix: MSVC shadowing warning disabled for fmt_unit_test.cpp

This commit is contained in:
Mateusz Pusz
2021-03-19 23:31:36 +01:00
parent fc7b0e44e2
commit 1197fa1ec4

View File

@@ -20,6 +20,12 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
#include "units/bits/external/hacks.h"
#if defined(UNITS_COMP_MSVC)
#pragma warning( disable : 4459 ) // Disable shadowing warning.
#endif
#include "units/format.h"
#include "units/isq/iec80000/iec80000.h"
#include "units/isq/si/si.h"