Skip to content

Commit fcd8911

Browse files
authored
chore: Fix clang-tidy 'fixes' (#1996)
Undo some of #1994
1 parent 99adb31 commit fcd8911

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.clang-tidy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ CheckOptions:
185185
readability-identifier-naming.FunctionIgnoredRegexp: '.*tag_invoke.*'
186186
bugprone-unsafe-functions.ReportMoreUnsafeFunctions: true
187187
bugprone-unused-return-value.CheckedReturnTypes: ::std::error_code;::std::error_condition;::std::errc
188-
misc-include-cleaner.IgnoreHeaders: '.*/(detail|impl)/.*;.*(expected|unexpected).*;.*ranges_lower_bound\.h;time.h;stdlib.h'
188+
misc-include-cleaner.IgnoreHeaders: '.*/(detail|impl)/.*;.*(expected|unexpected).*;.*ranges_lower_bound\.h;time.h;stdlib.h;__chrono/.*;fmt/chrono.h;boost/uuid/uuid_hash.hpp'
189189

190190
HeaderFilterRegex: '^.*/(src|tests)/.*\.(h|hpp)$'
191191
WarningsAsErrors: '*'

src/util/TimeUtils.cpp

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

2020
#include "util/TimeUtils.hpp"
2121

22-
#include <__chrono/time_point.h>
22+
#include <fmt/chrono.h>
2323
#include <fmt/core.h>
2424
#include <xrpl/basics/chrono.h>
2525

tests/integration/data/cassandra/BackendTests.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
#include <boost/asio/spawn.hpp>
4242
#include <boost/uuid/random_generator.hpp>
4343
#include <boost/uuid/uuid.hpp>
44+
#include <boost/uuid/uuid_hash.hpp>
4445
#include <gtest/gtest.h>
4546
#include <xrpl/basics/Slice.h>
4647
#include <xrpl/basics/base_uint.h>

0 commit comments

Comments
 (0)