From 6f266d703b00fb8d46f83790b26585a957d8b015 Mon Sep 17 00:00:00 2001 From: Steven Atkinson Date: Wed, 9 Oct 2024 18:21:32 -0700 Subject: [PATCH] Update benchmodel.cpp --- tools/benchmodel.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/benchmodel.cpp b/tools/benchmodel.cpp index 3f175d0..51d07df 100644 --- a/tools/benchmodel.cpp +++ b/tools/benchmodel.cpp @@ -1,4 +1,3 @@ -#include "malloc.h" #include #include @@ -28,7 +27,7 @@ int main(int argc, char* argv[]) std::unique_ptr model; model.reset(); - model = std::move(nam::get_dsp(modelPath)); + model = nam::get_dsp(modelPath); if (model == nullptr) { @@ -72,7 +71,7 @@ int main(int argc, char* argv[]) } else { - std::cerr << "Usage: loadmodel \n"; + std::cerr << "Usage: benchmodel \n"; } exit(0);