diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2014-05-06 17:17:03 -0700 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2014-05-06 17:17:03 -0700 |
commit | 4617f8f3b0c07a40d46bb04ab4b66e8446a8250b (patch) | |
tree | d93fdec35d5284825c0f4979764f3bcf1d0f3104 /odb | |
parent | 13d6542355d69dc6ebd0e18a652571e0f1e31236 (diff) |
More GCC 4.9.0 compatibility fixes
Diffstat (limited to 'odb')
-rw-r--r-- | odb/pragma.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
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<std::string, int> key; + typedef cutl::container::key<std::string, gcc_tree_code_type> key; typedef std::map<key, virt_declaration> map; typedef cutl::container::map_const_iterator<map> 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)); } |