forked from mpusz/mp-units
fix: Compilation errors fixed
This commit is contained in:
@@ -21,6 +21,7 @@
|
|||||||
// SOFTWARE.
|
// SOFTWARE.
|
||||||
|
|
||||||
#include "units/physical/si/base/length.h"
|
#include "units/physical/si/base/length.h"
|
||||||
|
#include <ostream>
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
|
@@ -36,9 +36,10 @@
|
|||||||
#pragma warning( disable : 4459 ) // Disable shadowing warning.
|
#pragma warning( disable : 4459 ) // Disable shadowing warning.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
using namespace units;
|
||||||
using namespace units::physical;
|
using namespace units::physical;
|
||||||
using namespace si;
|
using namespace units::physical::si;
|
||||||
using namespace unit_constants;
|
using namespace units::physical::si::unit_constants;
|
||||||
|
|
||||||
static_assert(2 * m == 2_q_m);
|
static_assert(2 * m == 2_q_m);
|
||||||
static_assert(2 * s == 2_q_s);
|
static_assert(2 * s == 2_q_s);
|
||||||
|
Reference in New Issue
Block a user