Remove std::move() around const variable

because const variable cannot be moved.

Bug: 204056804
Test: Presubmit
Change-Id: Iec13deb0f306976cfaee88da57a17f857ac35c8a
This commit is contained in:
Yi-Yo Chiang 2021-11-12 21:45:24 +08:00
parent a44f269eba
commit eee9fe4777

View file

@ -138,7 +138,7 @@ void ParseMountFlags(const std::string& flags, FstabEntry* entry) {
entry->reserved_size = size_in_4k_blocks << 12;
}
} else if (StartsWith(flag, "lowerdir=")) {
entry->lowerdir = std::move(arg);
entry->lowerdir = arg;
}
}
}