-
-
Notifications
You must be signed in to change notification settings - Fork 477
Expand file tree
/
Copy pathoutput-null.cpp
More file actions
25 lines (21 loc) · 783 Bytes
/
output-null.cpp
File metadata and controls
25 lines (21 loc) · 783 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/**
* SPDX-License-Identifier: GPL-2.0-or-later
*
* This file is part of osm2pgsql (https://osm2pgsql.org/).
*
* Copyright (C) 2006-2026 by the osm2pgsql developer community.
* For a full list of authors see the git log.
*/
#include "output-null.hpp"
std::shared_ptr<output_t> output_null_t::clone(
std::shared_ptr<middle_query_t> const & /*mid*/,
std::shared_ptr<db_copy_thread_t> const & /*copy_thread*/) const
{
return std::make_shared<output_null_t>(*this);
}
output_null_t::output_null_t(std::shared_ptr<middle_query_t> const &mid,
std::shared_ptr<thread_pool_t> thread_pool,
options_t const &options)
: output_t(mid, std::move(thread_pool), options)
{}
output_null_t::~output_null_t() = default;