Skip to content

Commit 6256a03

Browse files
committed
Remove default constructor.
1 parent 787183c commit 6256a03

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

libsolidity/lsp/FileRepository.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ namespace solidity::lsp
2828
class FileRepository
2929
{
3030
public:
31-
explicit FileRepository(boost::filesystem::path const& _basePath = "/"):
31+
explicit FileRepository(boost::filesystem::path const& _basePath):
3232
m_fileReader(_basePath) {}
3333

3434
boost::filesystem::path const& basePath() const { return m_fileReader.basePath(); }

libsolidity/lsp/LanguageServer.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ LanguageServer::LanguageServer(Transport& _transport):
101101
{"textDocument/didClose", bind(&LanguageServer::handleTextDocumentDidClose, this, _1, _2)},
102102
{"workspace/didChangeConfiguration", bind(&LanguageServer::handleWorkspaceDidChangeConfiguration, this, _1, _2)},
103103
},
104+
m_fileRepository("/" /* basePath */),
104105
m_compilerStack{m_fileRepository.reader()}
105106
{
106107
}

0 commit comments

Comments
 (0)