Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
quinnmp committed Nov 9, 2023
1 parent 8130b53 commit e774027
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
3 changes: 2 additions & 1 deletion src/CAN/CANTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
#include <sys/ioctl.h>
#include <sys/socket.h>

enum class testmode_t {
enum class testmode_t
{
automatic = 0,
autoSend = 1,
manualSend = 2,
Expand Down
3 changes: 2 additions & 1 deletion src/filters/FilterPerfTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ void usage(const char* name);
template <typename K, typename V>
constexpr std::unordered_map<V, K> reverseMap(const std::unordered_map<K, V>& map);

enum class FilterType {
enum class FilterType
{
EKF,
PoseGraph
};
Expand Down
8 changes: 4 additions & 4 deletions src/network/websocket/WebSocketServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,10 @@ bool SingleClientWSServer::validate(connection_hdl hdl) {
} else {
auto existingConn = server.get_con_from_hdl(entry->second.client.value());
LOG_F(INFO,
"Server=%s, Endpoint=%s : Rejected connection from %s - A client is already "
"connected: %s\n",
serverName.c_str(), path.c_str(), conn->get_remote_endpoint().c_str(),
existingConn->get_remote_endpoint().c_str());
"Server=%s, Endpoint=%s : Rejected connection from %s - A client is already "
"connected: %s\n",
serverName.c_str(), path.c_str(), conn->get_remote_endpoint().c_str(),
existingConn->get_remote_endpoint().c_str());
return false;
}
} else {
Expand Down

0 comments on commit e774027

Please sign in to comment.