clang optimizations

This commit is contained in:
Maik Jurischka
2025-12-29 15:49:00 +01:00
parent bb9b5cc619
commit 2b769bfe5e
4 changed files with 24 additions and 27 deletions

View File

@@ -49,10 +49,13 @@ private:
std::string handleGetEHDRStatus();
// Helper functions
VX_IMAGE_FORMAT stringToFormat(const std::string& format);
std::string formatToString(VX_IMAGE_FORMAT format);
std::string createErrorResponse(const std::string& error);
std::string createSuccessResponse(const std::string& message = "");
static VX_IMAGE_FORMAT stringToFormat(const std::string& format);
static std::string formatToString(VX_IMAGE_FORMAT format);
static std::string createErrorResponse(const std::string& error);
static std::string createSuccessResponse(const std::string& message = "");
std::shared_ptr<VxCamera> camera_;
std::shared_ptr<StreamingEngine> streamingEngine_;

View File

@@ -27,7 +27,7 @@ public:
private:
void serverLoop();
void handleClient(int clientFd);
void handleClient(int clientFd) const;
std::string socketPath_;
int serverFd_;