Make file_status::getUniqueID const.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187383 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola
2013-07-29 21:55:38 +00:00
parent 1fde907244
commit e0913798bc
3 changed files with 3 additions and 3 deletions

View File

@@ -269,7 +269,7 @@ std::string getMainExecutable(const char *argv0, void *MainExecAddr) {
return ret != MAX_PATH ? pathname : "";
}
UniqueID file_status::getUniqueID() {
UniqueID file_status::getUniqueID() const {
// The file is uniquely identified by the volume serial number along
// with the 64-bit file identifier.
uint64_t FileID = (static_cast<uint64_t>(FileIndexHigh) << 32ULL) |