summaryrefslogtreecommitdiffstats
path: root/edify/include
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2020-03-08 02:22:40 +0100
committerTianjie Xu <xunchang@google.com>2020-03-08 02:54:11 +0100
commitfb08b015f2db1369af3fceb43e18503685ce7e22 (patch)
treed97eb263e3fe95b54dbe63ada6a0c42b97108310 /edify/include
parentMerge "Merge stage-aosp-master to aosp-master - DO NOT MERGE" (diff)
downloadandroid_bootable_recovery-fb08b015f2db1369af3fceb43e18503685ce7e22.tar
android_bootable_recovery-fb08b015f2db1369af3fceb43e18503685ce7e22.tar.gz
android_bootable_recovery-fb08b015f2db1369af3fceb43e18503685ce7e22.tar.bz2
android_bootable_recovery-fb08b015f2db1369af3fceb43e18503685ce7e22.tar.lz
android_bootable_recovery-fb08b015f2db1369af3fceb43e18503685ce7e22.tar.xz
android_bootable_recovery-fb08b015f2db1369af3fceb43e18503685ce7e22.tar.zst
android_bootable_recovery-fb08b015f2db1369af3fceb43e18503685ce7e22.zip
Diffstat (limited to 'edify/include')
-rw-r--r--edify/include/edify/expr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/edify/include/edify/expr.h b/edify/include/edify/expr.h
index cd9c70120..3ddf7f5fe 100644
--- a/edify/include/edify/expr.h
+++ b/edify/include/edify/expr.h
@@ -60,7 +60,7 @@ struct Value {
BLOB = 2,
};
- Value(Type type, const std::string& str) : type(type), data(str) {}
+ Value(Type type, std::string str) : type(type), data(std::move(str)) {}
Type type;
std::string data;