From 9d3424a3c15f9b03bdc409e64ad9cb735ae5cf67 Mon Sep 17 00:00:00 2001 From: VJHack Date: Tue, 10 Sep 2024 22:26:58 -0500 Subject: [PATCH] cleanup for PR removed error --- examples/server/server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/server/server.cpp b/examples/server/server.cpp index 43f061aec..e03cddf77 100644 --- a/examples/server/server.cpp +++ b/examples/server/server.cpp @@ -2591,7 +2591,7 @@ int main(int argc, char ** argv) { return false; }; - auto middleware_server_state = [&res_error, &state](const httplib::Request &, httplib::Response & res) { + auto middleware_server_state = [&state](const httplib::Request &, httplib::Response & res) { server_state current_state = state.load(); if (current_state == SERVER_STATE_LOADING_MODEL) { res.set_content("The model is loading. Please wait.
The user interface will appear soon.", "text/html; charset=utf-8");