Browse Source

Fix extend() for init list

default_compile_flags
vector-of-bool 5 years ago
parent
commit
19c0afaba7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/dds/util.hpp

+ 1
- 1
src/dds/util.hpp View File



template <typename Container, typename Item> template <typename Container, typename Item>
void extend(Container& c, std::initializer_list<Item> il) { void extend(Container& c, std::initializer_list<Item> il) {
extend(c, il);
c.insert(c.end(), il.begin(), il.end());
} }


} // namespace dds } // namespace dds

Loading…
Cancel
Save