From 4617f8f3b0c07a40d46bb04ab4b66e8446a8250b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 6 May 2014 17:17:03 -0700 Subject: More GCC 4.9.0 compatibility fixes --- odb/pragma.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'odb/pragma.hxx') diff --git a/odb/pragma.hxx b/odb/pragma.hxx index 37aaeb9..c323451 100644 --- a/odb/pragma.hxx +++ b/odb/pragma.hxx @@ -20,7 +20,7 @@ struct virt_declaration { - virt_declaration (location_t l, + virt_declaration (location_t l, std::string const& n, gcc_tree_code_type tc, tree t) @@ -38,7 +38,7 @@ struct virt_declaration // struct virt_declaration_set { - typedef cutl::container::key key; + typedef cutl::container::key key; typedef std::map map; typedef cutl::container::map_const_iterator const_iterator; @@ -57,7 +57,7 @@ struct virt_declaration_set } const_iterator - find (std::string const& name, int tree_code) const + find (std::string const& name, gcc_tree_code_type tree_code) const { return map_.find (key (name, tree_code)); } -- cgit v1.1