summaryrefslogtreecommitdiff
path: root/examples/keyfile/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'examples/keyfile/main.cc')
-rw-r--r--examples/keyfile/main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/keyfile/main.cc b/examples/keyfile/main.cc
index 2f56b21a..33e90677 100644
--- a/examples/keyfile/main.cc
+++ b/examples/keyfile/main.cc
@@ -66,7 +66,7 @@ int main(int, char**)
// An exception will be thrown if the value is not in the file:
try
{
- const std::vector<int> values = keyfile.get_integer_list("Another Group", "Numbers");
+ const auto values = keyfile.get_integer_list("Another Group", "Numbers");
for(const auto& p : values)
std::cout << "Number list value: item=" << p << std::endl;