Skip to content

Commit ec381e2

Browse files
committed
Make some class section private instead of protected
1 parent 846f3ae commit ec381e2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/output-pgsql.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class output_pgsql_t : public output_t
7575

7676
void merge_expire_trees(output_t *other) override;
7777

78-
protected:
78+
private:
7979
void pgsql_out_way(osmium::Way const &way, taglist_t *tags, bool polygon,
8080
bool roads);
8181
void pgsql_process_relation(osmium::Relation const &rel);

src/table.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
*/
1212

1313
#include "db-copy-mgr.hpp"
14+
#include "options.hpp"
1415
#include "osmtypes.hpp"
1516
#include "pgsql.hpp"
1617
#include "taginfo.hpp"
@@ -56,7 +57,7 @@ class table_t
5657

5758
task_result_t m_task_result;
5859

59-
protected:
60+
private:
6061
void connect();
6162
void prepare();
6263
void teardown();

0 commit comments

Comments
 (0)