diff --git a/cpp/ycm/.ycm_extra_conf.py b/cpp/ycm/.ycm_extra_conf.py index 32d34411..e2ec67b8 100644 --- a/cpp/ycm/.ycm_extra_conf.py +++ b/cpp/ycm/.ycm_extra_conf.py @@ -101,7 +101,7 @@ def DirectoryOfThisScript(): def MakeRelativePathsInFlagsAbsolute( flags, working_directory ): if not working_directory: - return flags + return list( flags ) new_flags = [] make_next_absolute = False path_flags = [ '-isystem', '-I', '-iquote', '--sysroot=' ]