+2015-12-15 Jason Merrill <jason@redhat.com>
+
+ * hash-map.h, hash-table.h: Make copy constructors explicit.
+
2015-12-15 Ilya Verbin <ilya.verbin@intel.com>
* cgraphunit.c (output_in_order): Do not assemble "omp declare target
CXX_MEM_STAT_INFO)
: m_table (n, ggc, gather_mem_stats, HASH_MAP_ORIGIN PASS_MEM_STAT) {}
- hash_map (const hash_map &h, bool ggc = false,
- bool gather_mem_stats = GATHER_STATISTICS CXX_MEM_STAT_INFO)
+ explicit hash_map (const hash_map &h, bool ggc = false,
+ bool gather_mem_stats = GATHER_STATISTICS
+ CXX_MEM_STAT_INFO)
: m_table (h.m_table, ggc, gather_mem_stats,
HASH_MAP_ORIGIN PASS_MEM_STAT) {}
bool gather_mem_stats = GATHER_STATISTICS,
mem_alloc_origin origin = HASH_TABLE_ORIGIN
CXX_MEM_STAT_INFO);
- hash_table (const hash_table &, bool ggc = false,
- bool gather_mem_stats = GATHER_STATISTICS,
- mem_alloc_origin origin = HASH_TABLE_ORIGIN
- CXX_MEM_STAT_INFO);
+ explicit hash_table (const hash_table &, bool ggc = false,
+ bool gather_mem_stats = GATHER_STATISTICS,
+ mem_alloc_origin origin = HASH_TABLE_ORIGIN
+ CXX_MEM_STAT_INFO);
~hash_table ();
/* Create a hash_table in gc memory. */