summaryrefslogtreecommitdiff
path: root/graphics/asymptote/lspserv.cc
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/asymptote/lspserv.cc')
-rw-r--r--graphics/asymptote/lspserv.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/asymptote/lspserv.cc b/graphics/asymptote/lspserv.cc
index 42f135b35f..0707731a64 100644
--- a/graphics/asymptote/lspserv.cc
+++ b/graphics/asymptote/lspserv.cc
@@ -113,7 +113,7 @@ std::string wslUnix2Dos(std::string const& unixPath)
TextDocumentHover::Either fromString(std::string const& str)
{
- auto strobj=std::make_pair(boost::make_optional(str), optional<lsMarkedString>());
+ auto strobj=std::make_pair(make_optional(str), optional<lsMarkedString>());
std::vector<decltype(strobj)> vec{strobj};
return std::make_pair(vec, nullopt);
}
@@ -577,7 +577,7 @@ std::string wslUnix2Dos(std::string const& unixPath)
posRanges.splice(posRanges.begin(), ctx->searchLitFuncPositions(std::get<0>(st.value()), pos));
}
}
- rsp.result.first=boost::make_optional(std::vector<lsLocation>());
+ rsp.result.first=make_optional(std::vector<lsLocation>());
std::transform(
posRanges.begin(), posRanges.end(), std::back_inserter(rsp.result.first.value()),
[](posRangeInFile const& posRange)