Skip to content

Commit

Permalink
Include correct fmt headers in buffer.h
Browse files Browse the repository at this point in the history
Signed-off-by: Pavel Artsishevsky <polter.rnd@gmail.com>
  • Loading branch information
polter-rnd committed Nov 7, 2024
1 parent b400edd commit d883ff8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/util/buffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,12 @@
#include <type_traits>

#ifdef ENABLE_FMTLIB
#if __has_include(<fmt/base.h>)
#include <fmt/base.h>
#else
#include <fmt/core.h>
#endif
#else
#include "util/types.h"

#include <iterator>
Expand Down

0 comments on commit d883ff8

Please sign in to comment.