From 3a9155ee8a224b64b5da275d7fb9a7bea1e926d8 Mon Sep 17 00:00:00 2001 From: Andrew Loeliger Date: Thu, 9 Feb 2023 15:41:07 -0600 Subject: [PATCH] use std::move() for model name --- emulator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emulator.h b/emulator.h index 5665c73..cf7df2d 100644 --- a/emulator.h +++ b/emulator.h @@ -25,7 +25,7 @@ class ModelLoader { public: ModelLoader(std::string model_name) { - model_name_ = model_name; + model_name_ = std::move(model_name); model_name_.append(".so"); }