diff options
author | msw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-01 20:47:58 +0000 |
---|---|---|
committer | msw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-01 20:47:58 +0000 |
commit | acbeb3d6a2bc239b29170629adf8fc217822a0d2 (patch) | |
tree | f5c357b074dc357fae62cd39f674875e38ef33e3 /base/command_line.h | |
parent | 6d1a70663dcd74c9ac684f51cac6eb26c51ca6ed (diff) | |
download | chromium_src-acbeb3d6a2bc239b29170629adf8fc217822a0d2.zip chromium_src-acbeb3d6a2bc239b29170629adf8fc217822a0d2.tar.gz chromium_src-acbeb3d6a2bc239b29170629adf8fc217822a0d2.tar.bz2 |
Out-of-line default Commandline ctor and provide dtor.
BUG=73195
TEST=none
Review URL: http://codereview.chromium.org/6588087
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76419 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/command_line.h')
-rw-r--r-- | base/command_line.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/base/command_line.h b/base/command_line.h index a6313ee..7ff5ab0 100644 --- a/base/command_line.h +++ b/base/command_line.h @@ -49,6 +49,8 @@ class CommandLine { explicit CommandLine(const StringVector& argv); #endif + ~CommandLine(); + // Initialize the current process CommandLine singleton. On Windows, ignores // its arguments (we instead parse GetCommandLineW() directly) because we // don't trust the CRT's parsing of the command line, but it still must be @@ -147,8 +149,8 @@ class CommandLine { #endif private: - // Disallow default constructor; a program name must be explicitly specified. - CommandLine() {} + // Disallow public default construction; a program name must be specified. + CommandLine(); // The singleton CommandLine representing the current process's command line. static CommandLine* current_process_commandline_; |