Unverified Commit afdf1b5a authored by Murray Cumming's avatar Murray Cumming
Browse files

Add missing std::hash<> template types to fix the build.

parent 62863799
......@@ -602,10 +602,10 @@ private:
std::vector< LayoutInfo > m_layouts;
// map of report names to reports
std::unordered_map<Glib::ustring, std::shared_ptr<Report>> m_reports;
std::unordered_map<Glib::ustring, std::shared_ptr<Report>, std::hash<std::string>> m_reports;
// map of print layout names to print layouts
std::unordered_map< Glib::ustring, std::shared_ptr<PrintLayout>> m_print_layouts;
std::unordered_map<Glib::ustring, std::shared_ptr<PrintLayout>, std::hash<std::string>> m_print_layouts;
//Example data, used when creating a database from an example.
type_example_rows m_example_rows;
......
......@@ -48,7 +48,7 @@ private:
double m_table_height;
static double m_table_width;
std::unordered_map <Glib::ustring, double> m_map_fields_y;
std::unordered_map<Glib::ustring, double, std::hash<std::string>> m_map_fields_y;
};
} //namespace Glom
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment