summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
Diffstat (limited to 'base')
-rw-r--r--base/command_line.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/base/command_line.h b/base/command_line.h
index b87fb1b..864cb56 100644
--- a/base/command_line.h
+++ b/base/command_line.h
@@ -129,11 +129,8 @@ class CommandLine {
// Get the number of switches in this process.
size_t GetSwitchCount() const { return switches_.size(); }
- // The type of map for parsed-out switch key and values.
- typedef std::map<std::string, StringType> SwitchMap;
-
// Get a copy of all switches, along with their values
- SwitchMap GetSwitches() const {
+ std::map<std::string, StringType> GetSwitches() const {
return switches_;
}
@@ -232,7 +229,7 @@ class CommandLine {
StringType* switch_value);
// Parsed-out values.
- SwitchMap switches_;
+ std::map<std::string, StringType> switches_;
// Non-switch command-line arguments.
std::vector<StringType> loose_values_;