Skip to content

Commit c3ef19e

Browse files
committed
Change some inclusion of base.h to format.h
1 parent 15252c8 commit c3ef19e

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

src/fmt-c.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
#include "fmt/fmt-c.h"
99

10-
#include <fmt/base.h>
10+
#include <fmt/format.h>
1111

1212
extern "C" int fmt_vformat(char* buffer, size_t size, const char* fmt,
1313
const fmt_arg* args, size_t num_args) {

test/base-test.cc

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// Suppress warnings for pathological types convertible to detail::value.
1414
#pragma GCC diagnostic ignored "-Wconversion"
1515

16-
#include "fmt/base.h"
16+
#include "fmt/format.h"
1717

1818
#include <limits.h> // INT_MAX
1919
#include <string.h> // strlen
@@ -26,10 +26,6 @@
2626

2727
#include "gmock/gmock.h"
2828

29-
#ifdef FMT_FORMAT_H_
30-
# error base-test includes format.h
31-
#endif
32-
3329
using testing::_;
3430
using testing::Invoke;
3531
using testing::Return;

0 commit comments

Comments
 (0)