diff --git a/src/common/messages.d b/src/common/messages.d index 3287758..abee795 100644 --- a/src/common/messages.d +++ b/src/common/messages.d @@ -165,16 +165,6 @@ struct AutocompleteResponse * Symbol identifier */ ulong symbolIdentifier; - - /** - * Creates an empty acknowledgement response - */ - static AutocompleteResponse ack() - { - AutocompleteResponse response; - response.completionType = "ack"; - return response; - } } /** diff --git a/src/server/main.d b/src/server/main.d index 2095957..6c9be84 100644 --- a/src/server/main.d +++ b/src/server/main.d @@ -381,4 +381,4 @@ options: --socketFile FILENAME Use the given FILENAME as the path to the UNIX domain socket. Using this switch is an error on Windows.`, programName); -} \ No newline at end of file +} diff --git a/src/server/server.d b/src/server/server.d index 69bd51f..b01d28f 100644 --- a/src/server/server.d +++ b/src/server/server.d @@ -70,8 +70,8 @@ string getConfigurationLocation() */ void warnAboutOldConfigLocation() { - const configPath = "~/.config/dcd".expandTilde; - version (linux) if (configPath.exists && configPath.isFile) + version (linux) if ("~/.config/dcd".expandTilde().exists() + && "~/.config/dcd".expandTilde().isFile()) { warning("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"); warning("!! Upgrade warning:");