Skip to content

Commit

Permalink
dependency: directly import fmt features (not through spdlog)
Browse files Browse the repository at this point in the history
  • Loading branch information
rizsotto committed Jul 19, 2022
1 parent e92ea46 commit 67d5a34
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion source/citnames/source/Application.cc
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
#ifdef HAVE_FMT_STD_H
#include <fmt/std.h>
#endif
#include <fmt/ostream.h>
#include <spdlog/spdlog.h>
#include <spdlog/fmt/ostr.h>

namespace fs = std::filesystem;
namespace db = ic::collect::db;
Expand Down
2 changes: 1 addition & 1 deletion source/citnames/source/semantic/Build.cc
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
#include <memory>
#include <utility>

#include <fmt/ostream.h>
#include <spdlog/spdlog.h>
#include <spdlog/fmt/ostr.h>

#ifdef FMT_NEEDS_OSTREAM_FORMATTER
template <> struct fmt::formatter<domain::Execution> : ostream_formatter {};
Expand Down
4 changes: 2 additions & 2 deletions source/intercept/source/collect/SessionWrapper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
#ifdef HAVE_FMT_STD_H
#include <fmt/std.h>
#endif
#include <fmt/ostream.h>
#include <fmt/ranges.h>
#include <spdlog/spdlog.h>
#include <spdlog/fmt/ostr.h>
#include <spdlog/fmt/ranges.h>

#include <algorithm>
#include <iterator>
Expand Down
2 changes: 1 addition & 1 deletion source/intercept/source/report/wrapper/Application.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
#include "libsys/Process.h"
#include "libsys/Signal.h"

#include <fmt/ostream.h>
#include <spdlog/spdlog.h>
#include <spdlog/fmt/ostr.h>

#include <filesystem>
#include <memory>
Expand Down
2 changes: 1 addition & 1 deletion source/libmain/source/ApplicationFromArgs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@

#include "libmain/ApplicationFromArgs.h"

#include <fmt/ostream.h>
#include <spdlog/spdlog.h>
#include <spdlog/fmt/ostr.h>
#include <spdlog/sinks/stdout_sinks.h>

#ifdef FMT_NEEDS_OSTREAM_FORMATTER
Expand Down
2 changes: 1 addition & 1 deletion source/libmain/source/ApplicationLogConfig.cc
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
#include "libmain/ApplicationLogConfig.h"
#include "config.h"

#include <fmt/ranges.h>
#include <spdlog/spdlog.h>
#include <spdlog/fmt/ranges.h>
#include <spdlog/sinks/stdout_sinks.h>

#ifdef HAVE_SYS_UTSNAME_H
Expand Down
2 changes: 1 addition & 1 deletion source/libsys/source/Process.cc
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
# include "libsys/lib-names.h"
#endif

#include <fmt/ranges.h>
#include <spdlog/spdlog.h>
#include <spdlog/fmt/ranges.h>
#include <spdlog/sinks/stdout_sinks.h>

namespace {
Expand Down

0 comments on commit 67d5a34

Please sign in to comment.