Skip to content

Commit

Permalink
Update benchmodel.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
sdatkinson committed Oct 10, 2024
1 parent 05df480 commit 6f266d7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tools/benchmodel.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#include "malloc.h"
#include <iostream>
#include <chrono>

Expand Down Expand Up @@ -28,7 +27,7 @@ int main(int argc, char* argv[])
std::unique_ptr<nam::DSP> model;

model.reset();
model = std::move(nam::get_dsp(modelPath));
model = nam::get_dsp(modelPath);

if (model == nullptr)
{
Expand Down Expand Up @@ -72,7 +71,7 @@ int main(int argc, char* argv[])
}
else
{
std::cerr << "Usage: loadmodel <model_path>\n";
std::cerr << "Usage: benchmodel <model_path>\n";
}

exit(0);
Expand Down

0 comments on commit 6f266d7

Please sign in to comment.