[clangd] Remove the const specifier of the takeSymbol method

otherwise we will copy an object.

llvm-svn: 320574
This commit is contained in:
Haojian Wu 2017-12-13 12:39:06 +00:00
parent d209ff9814
commit acc90d17c5
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ public:
void finish() override;
SymbolSlab takeSymbols() const { return std::move(Symbols); }
SymbolSlab takeSymbols() { return std::move(Symbols); }
private:
// All Symbols collected from the AST.