summaryrefslogtreecommitdiff
path: root/gcc/hash-table.h
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2015-12-15 16:21:50 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2015-12-15 16:21:50 +0000
commit3404c48b0ae0cd09025a54c20df86b8cc3567f70 (patch)
tree265ab661b46554c6b41b1b672c767dd4a17d9092 /gcc/hash-table.h
parent9be4db034e57460d6e43f4f2a1e2b50c945afe9c (diff)
downloadgcc-3404c48b0ae0cd09025a54c20df86b8cc3567f70.tar.gz
* hash-map.h, hash-table.h: Make copy constructors explicit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231658 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/hash-table.h')
-rw-r--r--gcc/hash-table.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/hash-table.h b/gcc/hash-table.h
index 53e72e66f33..5725372dde2 100644
--- a/gcc/hash-table.h
+++ b/gcc/hash-table.h
@@ -365,10 +365,10 @@ public:
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. */