Skip to content

Commit

Permalink
fix flatbuffers include statement order
Browse files Browse the repository at this point in the history
  • Loading branch information
jmillan committed Oct 19, 2023
1 parent a514fb3 commit a6eb89b
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion worker/.clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ IncludeCategories:
Priority: 3
- Regex: '"*"'
Priority: 2
- Regex: '^<(json|uv|openssl|srtp|usrsctp|libwebrtc)(.|/)'
- Regex: '^<(flatbuffers|uv|openssl|srtp|usrsctp|libwebrtc)(.|/)'
Priority: 4
- Regex: '<*>'
Priority: 5
Expand Down
2 changes: 1 addition & 1 deletion worker/include/Channel/ChannelRequest.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
#include "FBS/message.h"
#include "FBS/request.h"
#include "FBS/response.h"
#include <absl/container/flat_hash_map.h>
#include <flatbuffers/minireflect.h>
#include <absl/container/flat_hash_map.h>
#include <string>

namespace Channel
Expand Down
2 changes: 1 addition & 1 deletion worker/include/RTC/RtpPacket.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
#include "FBS/rtpPacket.h"
#include "RTC/Codecs/PayloadDescriptorHandler.hpp"
#include "RTC/RtcLogger.hpp"
#include <flatbuffers/flatbuffers.h>
#include <absl/container/flat_hash_map.h>
#include <array>
#include <flatbuffers/flatbuffers.h>
#include <string>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion worker/include/RTC/WebRtcServer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
#include "RTC/TransportTuple.hpp"
#include "RTC/UdpSocket.hpp"
#include "RTC/WebRtcTransport.hpp"
#include <flatbuffers/flatbuffers.h>
#include <absl/container/flat_hash_map.h>
#include <absl/container/flat_hash_set.h>
#include <flatbuffers/flatbuffers.h>
#include <string>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion worker/include/Worker.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
#include "RTC/Shared.hpp"
#include "RTC/WebRtcServer.hpp"
#include "handles/SignalHandle.hpp"
#include <absl/container/flat_hash_map.h>
#include <flatbuffers/flatbuffer_builder.h>
#include <absl/container/flat_hash_map.h>
#include <string>

class Worker : public Channel::ChannelSocket::Listener,
Expand Down
2 changes: 1 addition & 1 deletion worker/src/RTC/RtpPacket.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#define MS_CLASS "RTC::RtpPacket"
// #define MS_LOG_DEV_LEVEL 3

#include "RTC/RtpPacket.hpp"
#include "DepLibUV.hpp"
#include "Logger.hpp"
#include "RTC/RtpPacket.hpp"
#include <cstring> // std::memcpy(), std::memmove(), std::memset()
#include <iterator> // std::ostream_iterator
#include <sstream> // std::ostringstream
Expand Down
2 changes: 1 addition & 1 deletion worker/src/Settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
#include "Logger.hpp"
#include "MediaSoupErrors.hpp"
#include "Utils.hpp"
#include <cctype> // isprint()
#include <flatbuffers/flatbuffers.h>
#include <cctype> // isprint()
#include <iterator> // std::ostream_iterator
#include <mutex>
#include <sstream> // std::ostringstream
Expand Down

0 comments on commit a6eb89b

Please sign in to comment.