mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-09-17 17:58:09 +08:00
use vector instead of initializer_list
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#define TOML11_REGION_H
|
||||
#include "exception.hpp"
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
#include <algorithm>
|
||||
#include <initializer_list>
|
||||
#include <iterator>
|
||||
@@ -225,7 +226,7 @@ template<typename Container>
|
||||
std::string
|
||||
format_underline(const std::string& message, const location<Container>& loc,
|
||||
const std::string& comment_for_underline,
|
||||
std::initializer_list<std::string> helps = {})
|
||||
std::vector<std::string> helps = {})
|
||||
{
|
||||
using const_iterator = typename location<Container>::const_iterator;
|
||||
using reverse_iterator = std::reverse_iterator<const_iterator>;
|
||||
|
Reference in New Issue
Block a user