[clangd] Remove the const specifier of the takeSymbol method
otherwise we will copy an object. llvm-svn: 320574
This commit is contained in:
parent
d209ff9814
commit
acc90d17c5
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue