mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-09-11 00:59:28 +00:00
Fixes (#3032)
This commit is contained in:
@@ -28,8 +28,8 @@ So include here the .hpp, and add a new element to the protos vector in the cons
|
||||
|
||||
class SubCarProtos : public FProtoListGeneral {
|
||||
public:
|
||||
SubCarProtos(const SubCarProtos&) { SubCarProtos(); }; // won't use, but makes compiler happy
|
||||
SubCarProtos& operator=(const SubCarProtos&) { return *this; } // won't use, but makes compiler happy
|
||||
SubCarProtos(const SubCarProtos&) = delete;
|
||||
SubCarProtos& operator=(const SubCarProtos&) = delete;
|
||||
SubCarProtos() {
|
||||
// add protos
|
||||
protos[FPC_SUZUKI] = new FProtoSubCarSuzuki();
|
||||
|
||||
@@ -62,8 +62,8 @@ So include here the .hpp, and add a new element to the protos vector in the cons
|
||||
|
||||
class SubGhzDProtos : public FProtoListGeneral {
|
||||
public:
|
||||
SubGhzDProtos(const SubGhzDProtos&) { SubGhzDProtos(); }; // won't use, but makes compiler happy
|
||||
SubGhzDProtos& operator=(const SubGhzDProtos&) { return *this; } // won't use, but makes compiler happy
|
||||
SubGhzDProtos(const SubGhzDProtos&) = delete;
|
||||
SubGhzDProtos& operator=(const SubGhzDProtos&) = delete;
|
||||
SubGhzDProtos() {
|
||||
// add protos
|
||||
protos[FPS_PRINCETON] = new FProtoSubGhzDPrinceton();
|
||||
|
||||
@@ -41,8 +41,8 @@ So include here the .hpp, and add a new element to the protos vector in the cons
|
||||
|
||||
class WeatherProtos : public FProtoListGeneral {
|
||||
public:
|
||||
WeatherProtos(const WeatherProtos&) { WeatherProtos(); }; // won't use, but makes compiler happy
|
||||
WeatherProtos& operator=(const WeatherProtos&) { return *this; } // won't use, but makes compiler happy
|
||||
WeatherProtos(const WeatherProtos&) = delete;
|
||||
WeatherProtos& operator=(const WeatherProtos&) = delete;
|
||||
WeatherProtos() {
|
||||
// add protos
|
||||
protos[FPW_NexusTH] = new FProtoWeatherNexusTH();
|
||||
|
||||
Reference in New Issue
Block a user