fix module test odr violations (#2414)

This commit is contained in:
Cameron DaCamara
2021-07-17 09:16:49 -07:00
committed by GitHub
parent 2038bf6183
commit 00235d8a99
3 changed files with 11 additions and 0 deletions

View File

@@ -12,7 +12,12 @@
#include <string>
#ifdef FMT_MODULE_TEST
import fmt;
#else
#include "fmt/os.h"
#endif // FMG_MODULE_TEST
#include "gmock/gmock.h"
#define FMT_TEST_THROW_(statement, expected_exception, expected_message, fail) \