- if (not strncmp(mount_point_.c_str(), fullpath, mount_point_.size())) {
- std::map<std::string, sg_size_t>* content = location_->content_;
- if (content->find(path_) != content->end()) { // src file exists
- sg_size_t new_size = content->at(path_);
+ if (not strncmp(mount_point_.c_str(), fullpath.c_str(), mount_point_.size())) {
+ std::map<std::string, sg_size_t>* content = location_->getContent();
+ auto sz = content->find(path_);
+ if (sz != content->end()) { // src file exists
+ sg_size_t new_size = sz->second;