aboutsummaryrefslogtreecommitdiff
path: root/gold/stringpool.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-09-21 06:12:32 +0000
committerIan Lance Taylor <iant@google.com>2007-09-21 06:12:32 +0000
commita8b2552e073964232f2831644fef18c6a7fa52ae (patch)
treec15509bb4ac088197ea67815243fd979dac549c5 /gold/stringpool.cc
parentca3a67a5cf313a093f28624258b1fd2201d1835e (diff)
downloadgdb-a8b2552e073964232f2831644fef18c6a7fa52ae.zip
gdb-a8b2552e073964232f2831644fef18c6a7fa52ae.tar.gz
gdb-a8b2552e073964232f2831644fef18c6a7fa52ae.tar.bz2
Set Stringpool zero_null option via a call, not a default constructor
argument.
Diffstat (limited to 'gold/stringpool.cc')
-rw-r--r--gold/stringpool.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gold/stringpool.cc b/gold/stringpool.cc
index 4a301fe..c0a4ae7 100644
--- a/gold/stringpool.cc
+++ b/gold/stringpool.cc
@@ -13,9 +13,9 @@ namespace gold
{
template<typename Stringpool_char>
-Stringpool_template<Stringpool_char>::Stringpool_template(bool zero_null)
+Stringpool_template<Stringpool_char>::Stringpool_template()
: string_set_(), strings_(), strtab_size_(0), next_index_(1),
- zero_null_(zero_null)
+ zero_null_(true)
{
}