SyntaxFix
Write A Post
Hire A Developer
Questions
You can make the copy constructor private and provide no implementation:
private: SymbolIndexer(const SymbolIndexer&);
Or in C++11, explicitly forbid it:
SymbolIndexer(const SymbolIndexer&) = delete;