fix: VS build fixed

This commit is contained in:
Mateusz Pusz
2021-03-30 14:47:05 +02:00
parent 800dade31c
commit 8a26eaf420
3 changed files with 12 additions and 4 deletions
+6 -4
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> // IWYU pragma: keep
#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/iau/iau.h>
@@ -30,10 +36,6 @@
#include <units/isq/si/us/us.h>
#include <catch2/catch.hpp>
#if defined(UNITS_COMP_MSVC)
#pragma warning( disable : 4459 ) // Disable shadowing warning.
#endif
using namespace units::isq::si;
using namespace units::isq::si::references;
using namespace units::isq::si::international;