| 191 | } |
| 192 | |
| 193 | bool BCLFileReference::checkForUpdate() { |
| 194 | std::string newChecksum = openstudio::checksum(this->path()); |
| 195 | if (m_checksum != newChecksum) { |
| 196 | m_checksum = newChecksum; |
| 197 | return true; |
| 198 | } |
| 199 | return false; |
| 200 | } |
| 201 | |
| 202 | // bool operator==(const BCLFileReference& lhs, const BCLFileReference& rhs) { |
| 203 | // return lhs.m_path == rhs.m_path; |