Skip to content

Commit

Permalink
Address the comments
Browse files Browse the repository at this point in the history
  • Loading branch information
show50726 committed Dec 12, 2024
1 parent 59869b9 commit ff0230c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 12 deletions.
3 changes: 2 additions & 1 deletion libs/fgviewer/include/fgviewer/DebugServer.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@
#define FGVIEWER_DEBUGSERVER_H

#include <unordered_map>
#include <utils/CString.h>
#include <vector>

#include <utils/CString.h>
#include <utils/Mutex.h>

class CivetServer;
Expand Down
3 changes: 0 additions & 3 deletions libs/fgviewer/src/ApiHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@

#include <CivetServer.h>

#include <sstream>
#include <chrono>

namespace filament::fgviewer {

using namespace std::chrono_literals;
Expand Down
4 changes: 0 additions & 4 deletions libs/fgviewer/src/ApiHandler.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@
#ifndef FGVIEWER_APIHANDLER_H
#define FGVIEWER_APIHANDLER_H

#include <mutex>
#include <condition_variable>
#include <atomic>

#include <CivetServer.h>

namespace filament::fgviewer {
Expand Down
6 changes: 2 additions & 4 deletions libs/fgviewer/src/DebugServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@
#include <utils/Hash.h>
#include <utils/Log.h>

#include <sstream>
#include <string>
#include <string_view>

namespace filament::fgviewer {

namespace {
std::string const BASE_URL = "libs/fgviewer/web";

Expand All @@ -36,11 +37,8 @@ FrameGraphInfoKey getKeybyString(const utils::CString &input,
return utils::hash::murmurSlow(reinterpret_cast<uint8_t const*>(
input.c_str()), input.size(), 0);
}

} // anonymous

namespace filament::fgviewer {

using namespace utils;

std::string_view const DebugServer::kSuccessHeader =
Expand Down

0 comments on commit ff0230c

Please sign in to comment.