gnucash maint: Bug 797748 - missing header "algorithm"
John Ralls
jralls at code.gnucash.org
Wed May 13 15:53:15 EDT 2020
Updated via https://github.com/Gnucash/gnucash/commit/4e9990dd (commit)
from https://github.com/Gnucash/gnucash/commit/0c633866 (commit)
commit 4e9990ddb5a457707f7927c4369d1cbe802ff884
Author: John Ralls <jralls at ceridwen.us>
Date: Wed May 13 12:52:16 2020 -0700
Bug 797748 - missing header "algorithm"
include what you use!
diff --git a/gnucash/import-export/csv-imp/assistant-csv-price-import.cpp b/gnucash/import-export/csv-imp/assistant-csv-price-import.cpp
index ed33382c5..c8cd8035b 100644
--- a/gnucash/import-export/csv-imp/assistant-csv-price-import.cpp
+++ b/gnucash/import-export/csv-imp/assistant-csv-price-import.cpp
@@ -52,6 +52,13 @@ extern "C"
#include "go-charmap-sel.h"
}
+#include <algorithm>
+#include <exception>
+#include <iostream>
+#include <memory>
+#include <string>
+#include <tuple>
+
#include "gnc-imp-settings-csv-price.hpp"
#include "gnc-import-price.hpp"
#include "gnc-tokenizer-fw.hpp"
diff --git a/gnucash/import-export/csv-imp/assistant-csv-trans-import.cpp b/gnucash/import-export/csv-imp/assistant-csv-trans-import.cpp
index 6abc594bb..f5317378e 100644
--- a/gnucash/import-export/csv-imp/assistant-csv-trans-import.cpp
+++ b/gnucash/import-export/csv-imp/assistant-csv-trans-import.cpp
@@ -64,6 +64,13 @@ extern "C"
#include "gnc-tokenizer-fw.hpp"
#include "gnc-tokenizer-csv.hpp"
+#include <algorithm>
+#include <exception>
+#include <iostream>
+#include <memory>
+#include <string>
+#include <tuple>
+
#include <gnc-locale-utils.hpp>
#include <boost/locale.hpp>
diff --git a/gnucash/import-export/csv-imp/gnc-imp-props-price.cpp b/gnucash/import-export/csv-imp/gnc-imp-props-price.cpp
index 916f46b9c..5419b1726 100644
--- a/gnucash/import-export/csv-imp/gnc-imp-props-price.cpp
+++ b/gnucash/import-export/csv-imp/gnc-imp-props-price.cpp
@@ -34,6 +34,8 @@ extern "C" {
#include "gnc-ui-util.h"
}
+#include <exception>
+#include <map>
#include <string>
#include <boost/regex.hpp>
#include <boost/regex/icu.hpp>
diff --git a/gnucash/import-export/csv-imp/gnc-imp-props-tx.cpp b/gnucash/import-export/csv-imp/gnc-imp-props-tx.cpp
index 1b8cf6721..4129c317a 100644
--- a/gnucash/import-export/csv-imp/gnc-imp-props-tx.cpp
+++ b/gnucash/import-export/csv-imp/gnc-imp-props-tx.cpp
@@ -39,7 +39,12 @@ extern "C" {
}
+#include <algorithm>
+#include <exception>
+#include <map>
#include <string>
+#include <vector>
+
#include <boost/regex.hpp>
#include <boost/regex/icu.hpp>
#include "gnc-imp-props-tx.hpp"
diff --git a/gnucash/import-export/csv-imp/gnc-imp-settings-csv-tx.cpp b/gnucash/import-export/csv-imp/gnc-imp-settings-csv-tx.cpp
index a0a679a06..eda119ab1 100644
--- a/gnucash/import-export/csv-imp/gnc-imp-settings-csv-tx.cpp
+++ b/gnucash/import-export/csv-imp/gnc-imp-settings-csv-tx.cpp
@@ -28,7 +28,11 @@
#include "gnc-imp-settings-csv.hpp"
#include "gnc-imp-settings-csv-tx.hpp"
+#include <algorithm>
+#include <memory>
#include <sstream>
+#include <string>
+#include <vector>
extern "C"
{
diff --git a/gnucash/import-export/csv-imp/gnc-imp-settings-csv.cpp b/gnucash/import-export/csv-imp/gnc-imp-settings-csv.cpp
index 29c28f350..694b5b98e 100644
--- a/gnucash/import-export/csv-imp/gnc-imp-settings-csv.cpp
+++ b/gnucash/import-export/csv-imp/gnc-imp-settings-csv.cpp
@@ -41,6 +41,10 @@ extern "C"
#include "gnc-ui-util.h"
}
+#include <algorithm>
+#include <iostream>
+#include <string>
+
const std::string csv_group_prefix{"CSV-"};
const std::string no_settings{N_("No Settings")};
const std::string gnc_exp{N_("GnuCash Export Format")};
diff --git a/gnucash/import-export/csv-imp/gnc-import-price.cpp b/gnucash/import-export/csv-imp/gnc-import-price.cpp
index f1a133d73..73925eefe 100644
--- a/gnucash/import-export/csv-imp/gnc-import-price.cpp
+++ b/gnucash/import-export/csv-imp/gnc-import-price.cpp
@@ -35,8 +35,17 @@ extern "C" {
#include "gnc-pricedb.h"
}
+#include <algorithm>
+#include <exception>
+#include <iostream>
+#include <memory>
+#include <string>
+#include <tuple>
+#include <vector>
+
#include <boost/regex.hpp>
#include <boost/regex/icu.hpp>
+#include <boost/optional.hpp>
#include "gnc-import-price.hpp"
#include "gnc-imp-props-price.hpp"
diff --git a/gnucash/import-export/csv-imp/gnc-import-tx.cpp b/gnucash/import-export/csv-imp/gnc-import-tx.cpp
index df76f014b..ba060e9ed 100644
--- a/gnucash/import-export/csv-imp/gnc-import-tx.cpp
+++ b/gnucash/import-export/csv-imp/gnc-import-tx.cpp
@@ -32,6 +32,15 @@ extern "C" {
#include <glib/gi18n.h>
}
+#include <algorithm>
+#include <exception>
+#include <iostream>
+#include <memory>
+#include <string>
+#include <tuple>
+#include <utility>
+#include <vector>
+
#include <boost/regex.hpp>
#include <boost/regex/icu.hpp>
Summary of changes:
gnucash/import-export/csv-imp/assistant-csv-price-import.cpp | 7 +++++++
gnucash/import-export/csv-imp/assistant-csv-trans-import.cpp | 7 +++++++
gnucash/import-export/csv-imp/gnc-imp-props-price.cpp | 2 ++
gnucash/import-export/csv-imp/gnc-imp-props-tx.cpp | 5 +++++
gnucash/import-export/csv-imp/gnc-imp-settings-csv-tx.cpp | 4 ++++
gnucash/import-export/csv-imp/gnc-imp-settings-csv.cpp | 4 ++++
gnucash/import-export/csv-imp/gnc-import-price.cpp | 9 +++++++++
gnucash/import-export/csv-imp/gnc-import-tx.cpp | 9 +++++++++
8 files changed, 47 insertions(+)
More information about the gnucash-changes
mailing list