mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 00:57:44 -04:00
60db0e5ef9
This updates `fmt` to the latest version and moves to just being a copy of their repo to make updating easier (no editing their cmake / figuring out which files to minimally include). The motivation for this is now that we switched to C++ 20, there were a ton of deprecated function usages that is going away in future compiler versions. This gets rid of all those warnings.
12 lines
253 B
C++
Vendored
Generated
12 lines
253 B
C++
Vendored
Generated
// Header-only configuration test
|
|
|
|
#include "fmt/core.h"
|
|
#include "fmt/ostream.h"
|
|
#include "gtest/gtest.h"
|
|
|
|
#ifndef FMT_HEADER_ONLY
|
|
# error "Not in the header-only mode."
|
|
#endif
|
|
|
|
TEST(header_only_test, format) { EXPECT_EQ(fmt::format("foo"), "foo"); }
|