Remove std::move() around const variable
because const variable cannot be moved. Bug: 204056804 Test: Presubmit Change-Id: Iec13deb0f306976cfaee88da57a17f857ac35c8a
This commit is contained in:
parent
a44f269eba
commit
eee9fe4777
|
@ -138,7 +138,7 @@ void ParseMountFlags(const std::string& flags, FstabEntry* entry) {
|
||||||
entry->reserved_size = size_in_4k_blocks << 12;
|
entry->reserved_size = size_in_4k_blocks << 12;
|
||||||
}
|
}
|
||||||
} else if (StartsWith(flag, "lowerdir=")) {
|
} else if (StartsWith(flag, "lowerdir=")) {
|
||||||
entry->lowerdir = std::move(arg);
|
entry->lowerdir = arg;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue