telemetry_server: Remove unnecessary call to get_uri()
This commit is contained in:
1 parent
d0802994d8
commit
02f0026a00
1 file changed
+2
-2
@@ -112,7 +112,7 @@ public:
|
||||
server::connection_ptr con = m_endpoint.get_con_from_hdl(hdl);
|
||||
|
||||
std::ifstream file;
|
||||
std::string filename = con->get_uri()->get_resource();
|
||||
std::string filename = con->get_resource();
|
||||
std::string response;
|
||||
|
||||
m_endpoint.get_alog().write(websocketpp::log::alevel::app,
|
||||
@@ -201,4 +201,4 @@ int main(int argc, char* argv[]) {
|
||||
|
||||
s.run(docroot, port);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user