Skip to content

Commit 91011cd

Browse files
committed
clang-tidy: Put function definitions in cpp file where they belong
1 parent 57073c1 commit 91011cd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/middle.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
#include "middle.hpp"
1313
#include "options.hpp"
1414

15+
middle_query_t::~middle_query_t() = default;
16+
17+
middle_t::~middle_t() = default;
18+
1519
std::shared_ptr<middle_t>
1620
create_middle(std::shared_ptr<thread_pool_t> thread_pool,
1721
options_t const &options)

src/middle.hpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,6 @@ struct middle_query_t : std::enable_shared_from_this<middle_query_t>
8989
osmium::memory::Buffer *buffer) const = 0;
9090
};
9191

92-
inline middle_query_t::~middle_query_t() = default;
93-
9492
/**
9593
* Interface for storing "raw" OSM data in an intermediate object store and
9694
* getting it back.
@@ -191,8 +189,6 @@ class middle_t
191189
std::shared_ptr<thread_pool_t> m_thread_pool;
192190
}; // class middle_t
193191

194-
inline middle_t::~middle_t() = default;
195-
196192
/// Factory function: Instantiate the middle based on the command line options.
197193
std::shared_ptr<middle_t>
198194
create_middle(std::shared_ptr<thread_pool_t> thread_pool,

0 commit comments

Comments
 (0)