summaryrefslogtreecommitdiffstats
path: root/runtime/parsed_options.h
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2014-08-29 16:01:25 -0700
committerAndreas Gampe <agampe@google.com>2014-08-29 16:01:56 -0700
commit313f40345a2bbea299a035d4176272d1a6622afd (patch)
treea13c7bb3dd29430544e75d36bf4f0057eb93b5b4 /runtime/parsed_options.h
parent6b8e3b906dd310c649ffb4b73dc46a78b64f4a0f (diff)
downloadart-313f40345a2bbea299a035d4176272d1a6622afd.zip
art-313f40345a2bbea299a035d4176272d1a6622afd.tar.gz
art-313f40345a2bbea299a035d4176272d1a6622afd.tar.bz2
ART: Initialize fields of ParsedOptions
Avoids certain paths where we touched uninitialized fields. Bug: 17330858 Change-Id: Ia68161b12eefefacad6fc524f487f8e2caf6342a
Diffstat (limited to 'runtime/parsed_options.h')
-rw-r--r--runtime/parsed_options.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/parsed_options.h b/runtime/parsed_options.h
index c147465..3839e19 100644
--- a/runtime/parsed_options.h
+++ b/runtime/parsed_options.h
@@ -108,7 +108,7 @@ class ParsedOptions {
uint64_t min_interval_homogeneous_space_compaction_by_oom_;
private:
- ParsedOptions() {}
+ ParsedOptions();
void Usage(const char* fmt, ...);
void UsageMessage(FILE* stream, const char* fmt, ...);