diff options
Diffstat (limited to 'graphics/asymptote/LspCpp/include/LibLsp/lsp/utils.h')
-rw-r--r-- | graphics/asymptote/LspCpp/include/LibLsp/lsp/utils.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/asymptote/LspCpp/include/LibLsp/lsp/utils.h b/graphics/asymptote/LspCpp/include/LibLsp/lsp/utils.h index 95064c34d6..5f1769f80a 100644 --- a/graphics/asymptote/LspCpp/include/LibLsp/lsp/utils.h +++ b/graphics/asymptote/LspCpp/include/LibLsp/lsp/utils.h @@ -7,7 +7,7 @@ #include <memory> #include <string> #include <vector> -#include <boost/optional/optional.hpp> +#include <optional> #include <LibLsp/lsp/AbsolutePath.h> #include "lsPosition.h" @@ -80,7 +80,7 @@ std::string EscapeFileName(std::string path); // FIXME: Move ReadContent into ICacheManager? bool FileExists(const std::string& filename); -boost::optional<std::string> ReadContent(const AbsolutePath& filename); +optional<std::string> ReadContent(const AbsolutePath& filename); std::vector<std::string> ReadLinesWithEnding(const AbsolutePath& filename); bool WriteToFile(const std::string& filename, const std::string& content); |