Skip to content

Commit bd8d41f

Browse files
authored
Merge pull request #1806 from joto/protected-to-private
Make some class sections private instead of protected
2 parents 846f3ae + ec381e2 commit bd8d41f

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

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)