feat: preventing possible future units crash when using namespace std;
Resolves #317
This commit is contained in:
1 parent
6b72dd39c1
commit
2cf736a1e6
123 files changed
+1205
-1092
No files matched your search
@@ -20,11 +20,11 @@
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
// SOFTWARE.
|
||||
|
||||
#include <units/bits/ratio.h>
|
||||
#include <mp_units/bits/ratio.h>
|
||||
|
||||
namespace {
|
||||
|
||||
using namespace units;
|
||||
using namespace mp_units;
|
||||
|
||||
static_assert(ratio(2, 4) == ratio(1, 2));
|
||||
|
||||
|
||||
Reference in new issue
Block a user