Clang was complaining about "Call to implicitly deleted copy-constructor" on every instance of "return IndexWriter(…)" and "return VertexWriter(…)". The issue seems to be that NonCopyable prevents that. Therefore to fix the issue added move constructors.