diff options
author | Christian Hesse | 2017-02-09 10:28:22 +0100 |
---|---|---|
committer | Christian Hesse | 2017-02-09 10:28:22 +0100 |
commit | 65f356459a8d69132fa87e57837d3687d1b9fbbf (patch) | |
tree | 3cbcaca2661926d10bf2dc4ef8c6c811d01015f2 /0001-do-not-pass-type-to-std-make_pair.patch | |
parent | 841fc915f70c9fccb21eb65f3a109cfda8740f5c (diff) | |
download | aur-65f356459a8d69132fa87e57837d3687d1b9fbbf.tar.gz |
commit mysql-workbench-git 6.3.9.r0.g1972008-1
Diffstat (limited to '0001-do-not-pass-type-to-std-make_pair.patch')
-rw-r--r-- | 0001-do-not-pass-type-to-std-make_pair.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/0001-do-not-pass-type-to-std-make_pair.patch b/0001-do-not-pass-type-to-std-make_pair.patch deleted file mode 100644 index 2acbcbd616ea..000000000000 --- a/0001-do-not-pass-type-to-std-make_pair.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 34ec0d65ede8392ba3e0f114d72672b3f517f964 Mon Sep 17 00:00:00 2001 -From: Christian Hesse <mail@eworm.de> -Date: Tue, 10 May 2016 01:09:34 +0200 -Subject: [PATCH 1/1] do not pass type to std::make_pair() - -We not pass type template arguments to std::make_pair() -explicitly, and let the compiler deduce them on its own. -This fixes compiler error on GCC 6.1.1. - -Signed-off-by: Christian Hesse <mail@eworm.de> ---- - 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..03fd71c 100644 ---- a/client/auth_utils.cc -+++ b/client/auth_utils.cc -@@ -61,7 +61,7 @@ int parse_cnf_file(istream &sin, map<string, string > *options, - getline(sin, option_value); - trim(&option_value); - if (option_name.length() > 0) -- options->insert(make_pair<string, string >(option_name, option_value)); -+ options->insert(make_pair(option_name, option_value)); - } - return ALL_OK; - } catch(...) --- -2.8.2 - |