>>131
A::getFileNameがconstメンバ関数ではないから
const std::string& getFileName() const {