diff --git a/src/command_line.cc b/src/command_line.cc index 1a6b217b..91f96e0d 100644 --- a/src/command_line.cc +++ b/src/command_line.cc @@ -63,7 +63,6 @@ bool ShouldDisplayMethodTiming(MethodType type) { type != kMethodType_TextDocumentPublishDiagnostics && type != kMethodType_CqueryPublishInactiveRegions && type != kMethodType_Unknown; - return true; } void PrintHelp() { diff --git a/src/method.h b/src/method.h index 8a3673d3..77d92616 100644 --- a/src/method.h +++ b/src/method.h @@ -5,7 +5,7 @@ #include -using MethodType = std::string; +using MethodType = const char*; extern MethodType kMethodType_Unknown; extern MethodType kMethodType_Exit; extern MethodType kMethodType_TextDocumentPublishDiagnostics;