diff --git a/libraries/networking/src/PacketList.cpp b/libraries/networking/src/PacketList.cpp index 30bcb5a89f..af1125310a 100644 --- a/libraries/networking/src/PacketList.cpp +++ b/libraries/networking/src/PacketList.cpp @@ -21,7 +21,7 @@ template PacketList::PacketList(PacketType::Value packetType) : } -template std::unique_ptr PacketList::createPacketWithExtendedHeader() { +template std::unique_ptr PacketList::createPacketWithExtendedHeader() { // use the static create method to create a new packet auto packet = T::create(_packetType); diff --git a/libraries/networking/src/PacketList.h b/libraries/networking/src/PacketList.h index 9c8f67fc6a..ada136b7f1 100644 --- a/libraries/networking/src/PacketList.h +++ b/libraries/networking/src/PacketList.h @@ -40,12 +40,12 @@ public: protected: virtual qint64 writeData(const char* data, qint64 maxSize); virtual qint64 readData(char* data, qint64 maxSize) { return 0; } - + private: PacketList(const PacketList& other) = delete; PacketList& operator=(const PacketList& other) = delete; - std::unique_ptr createPacketWithExtendedHeader(); + std::unique_ptr createPacketWithExtendedHeader(); PacketType::Value _packetType; bool _isOrdered = false;