From 5ec52d7ce4f31ff3dcaaaf9075f846819eeb21b9 Mon Sep 17 00:00:00 2001 From: cpcdoy Date: Sat, 11 Jun 2016 18:38:33 +0200 Subject: [PATCH] Fix: non-compiling client/client_utils.cc Replaced make_pair with pair to be able to compile using gcc version 6.1.1 20160510 (Ubuntu 6.1.1-2ubuntu12~16.04) --- client/auth_utils.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/auth_utils.cc b/client/auth_utils.cc index 21416bb..8c1d7ca 100644 --- a/client/auth_utils.cc +++ b/client/auth_utils.cc @@ -61,7 +61,7 @@ int parse_cnf_file(istream &sin, map *options, getline(sin, option_value); trim(&option_value); if (option_name.length() > 0) - options->insert(make_pair(option_name, option_value)); + options->insert(pair(option_name, option_value)); } return ALL_OK; } catch(...)