Added Copyconstrucotr for base and made inheritance public

OLD_dev
Ruakij 3 years ago
parent 4d8597b1d6
commit 9301c4e0fd

@ -4,8 +4,14 @@
#include "./packet.hpp"
#include <string>
class BeaconPacket : Packet{
class BeaconPacket : public Packet{
public:
BeaconPacket()
{}
BeaconPacket(const Packet &packet)
: Packet(packet)
{}
std::string ssid;
};

@ -4,9 +4,15 @@
#include "./packet.hpp"
#include <string>
class ProbeRequestPacket : Packet{
class ProbeRequestPacket : public Packet{
public:
std::string requestSSID;
ProbeRequestPacket()
{}
ProbeRequestPacket(const Packet &packet)
: Packet(packet)
{}
std::string requestSsid;
};
#endif /* CD2BF199_8153_4F10_A85C_50883FAD66A8 */

Loading…
Cancel
Save