Commit be0e4f12 authored by Dominik Charousset's avatar Dominik Charousset

Add missing const

parent 5fc5bd29
......@@ -50,7 +50,7 @@ public:
/// Convertes the internal buffer to a ::type_id_list and returns it.
/// @pre `push_back` was called at least once
type_id_list copy_to_list();
type_id_list copy_to_list() const;
void clear() noexcept {
if (storage_)
......
......@@ -134,7 +134,7 @@ type_id_list type_id_list_builder::move_to_list() {
return type_id_list{get_or_set_type_id_buf(ptr)};
}
type_id_list type_id_list_builder::copy_to_list() {
type_id_list type_id_list_builder::copy_to_list() const {
if (size_ == 0)
return make_type_id_list();
storage_[0] = static_cast<type_id_t>(size());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment