mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-29 22:22:54 +02:00
Remove unnecessary headers
This commit is contained in:
parent
17d8085ab5
commit
8b71462dc1
5 changed files with 8 additions and 14 deletions
|
@ -15,7 +15,6 @@
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <unordered_map>
|
|
||||||
#include <bitset>
|
#include <bitset>
|
||||||
|
|
||||||
// Why a macro and not a fancy template you will ask me ?
|
// Why a macro and not a fancy template you will ask me ?
|
||||||
|
|
|
@ -152,18 +152,15 @@ void Connection::processReceivedSeqNum(SeqNum seq) {
|
||||||
|
|
||||||
void Connection::processControl(unique_ptr<ControlPacket> controlPacket) {
|
void Connection::processControl(unique_ptr<ControlPacket> controlPacket) {
|
||||||
switch (controlPacket->getType()) {
|
switch (controlPacket->getType()) {
|
||||||
case ControlPacket::ACK: {
|
case ControlPacket::ACK:
|
||||||
processACK(move(controlPacket));
|
processACK(move(controlPacket));
|
||||||
break;
|
break;
|
||||||
}
|
case ControlPacket::ACK2:
|
||||||
case ControlPacket::ACK2: {
|
|
||||||
processACK2(move(controlPacket));
|
processACK2(move(controlPacket));
|
||||||
break;
|
break;
|
||||||
}
|
case ControlPacket::NAK:
|
||||||
case ControlPacket::NAK: {
|
|
||||||
processNAK(move(controlPacket));
|
processNAK(move(controlPacket));
|
||||||
break;
|
break;
|
||||||
}
|
|
||||||
case ControlPacket::PacketPair: {
|
case ControlPacket::PacketPair: {
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -12,19 +12,19 @@
|
||||||
#ifndef hifi_OctreeEditPacketSender_h
|
#ifndef hifi_OctreeEditPacketSender_h
|
||||||
#define hifi_OctreeEditPacketSender_h
|
#define hifi_OctreeEditPacketSender_h
|
||||||
|
|
||||||
|
#include <unordered_map>
|
||||||
|
|
||||||
#include <PacketSender.h>
|
#include <PacketSender.h>
|
||||||
#include <udt/PacketHeaders.h>
|
#include <udt/PacketHeaders.h>
|
||||||
|
|
||||||
#include "JurisdictionMap.h"
|
#include "JurisdictionMap.h"
|
||||||
#include "SentPacketHistory.h"
|
#include "SentPacketHistory.h"
|
||||||
|
|
||||||
namespace std {
|
template <> struct std::hash<QUuid> {
|
||||||
template <> struct hash<QUuid> {
|
|
||||||
size_t operator()(const QUuid& uuid) const {
|
size_t operator()(const QUuid& uuid) const {
|
||||||
return qHash(uuid);
|
return qHash(uuid);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
|
||||||
|
|
||||||
/// Utility for processing, packing, queueing and sending of outbound edit messages.
|
/// Utility for processing, packing, queueing and sending of outbound edit messages.
|
||||||
class OctreeEditPacketSender : public PacketSender {
|
class OctreeEditPacketSender : public PacketSender {
|
||||||
|
|
|
@ -26,7 +26,6 @@
|
||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
#include <QOpenGLDebugLogger>
|
#include <QOpenGLDebugLogger>
|
||||||
|
|
||||||
#include <unordered_map>
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <glm/glm.hpp>
|
#include <glm/glm.hpp>
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,6 @@
|
||||||
#include <QQmlContext>
|
#include <QQmlContext>
|
||||||
#include <QtQml/QQmlApplicationEngine>
|
#include <QtQml/QQmlApplicationEngine>
|
||||||
#include <PathUtils.h>
|
#include <PathUtils.h>
|
||||||
#include <unordered_map>
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <glm/glm.hpp>
|
#include <glm/glm.hpp>
|
||||||
#include <PathUtils.h>
|
#include <PathUtils.h>
|
||||||
|
|
Loading…
Reference in a new issue