diff --git a/cpp/ycm/CompletionData.h b/cpp/ycm/CompletionData.h index 8f862a9a..10253494 100644 --- a/cpp/ycm/CompletionData.h +++ b/cpp/ycm/CompletionData.h @@ -23,12 +23,9 @@ namespace YouCompleteMe struct CompletionData { - // What should actually be inserted into the buffer. For functions, this - // should be the original string plus "(" + // What should actually be inserted into the buffer. std::string TextToInsertInBuffer() { - if ( kind_ == 'f' ) - return original_string_ + "("; return original_string_; }