File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -27,9 +27,16 @@ class idlist_t
27
27
using value_type = osmid_t ;
28
28
29
29
idlist_t () = default ;
30
+ ~idlist_t () noexcept = default ;
30
31
31
32
idlist_t (std::initializer_list<osmid_t > ids) : m_list(ids) {}
32
33
34
+ idlist_t (idlist_t const &) = delete ;
35
+ idlist_t &operator =(idlist_t const &) = delete ;
36
+
37
+ idlist_t (idlist_t &&) = default ;
38
+ idlist_t &operator =(idlist_t &&) = default ;
39
+
33
40
bool empty () const noexcept { return m_list.empty (); }
34
41
35
42
std::size_t size () const noexcept { return m_list.size (); }
Original file line number Diff line number Diff line change @@ -364,7 +364,7 @@ void osmdata_t::process_dependents() const
364
364
}
365
365
366
366
// stage 1c processing: mark parent relations of marked objects as changed
367
- auto marked_ways = m_output->get_marked_way_ids ();
367
+ auto const & marked_ways = m_output->get_marked_way_ids ();
368
368
if (marked_ways.empty ()) {
369
369
return ;
370
370
}
You can’t perform that action at this time.
0 commit comments