diff options
Diffstat (limited to 'simpleperf/cmd_list.cpp')
-rw-r--r-- | simpleperf/cmd_list.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/simpleperf/cmd_list.cpp b/simpleperf/cmd_list.cpp index ceb04018..4966b9c6 100644 --- a/simpleperf/cmd_list.cpp +++ b/simpleperf/cmd_list.cpp @@ -30,8 +30,7 @@ #include "event_selection_set.h" #include "event_type.h" -using namespace simpleperf; - +namespace simpleperf { namespace { enum EventTypeStatus { @@ -214,8 +213,6 @@ void ListCommand::ShowFeatures() { } // namespace -namespace simpleperf { - void RegisterListCommand() { RegisterCommand("list", [] { return std::unique_ptr<Command>(new ListCommand); }); } |