mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 02:30:44 +00:00
obsolete Copy Assignment - need to have a destructor defined.
This commit is contained in:
parent
9c530f3d86
commit
cf4b86b99a
@ -68,6 +68,7 @@ struct ValueCount {
|
||||
:value(val), count(cnt), p(pp) {}
|
||||
|
||||
ValueCount(const ValueCount ©) = default;
|
||||
~ValueCount() {};
|
||||
EventDataType value;
|
||||
qint64 count;
|
||||
double p;
|
||||
|
@ -151,6 +151,7 @@ public:
|
||||
}
|
||||
|
||||
STRRecord(const STRRecord & /*copy*/) = default;
|
||||
~STRRecord() {}; // required to get rid of warning
|
||||
|
||||
// All the data members
|
||||
|
||||
|
@ -112,6 +112,7 @@ enum PRTimeModes { //:short
|
||||
struct MachineInfo {
|
||||
MachineInfo() { type = MT_UNKNOWN; version = 0; cap=0; }
|
||||
MachineInfo(const MachineInfo & /*copy*/) = default;
|
||||
~MachineInfo() {};
|
||||
|
||||
MachineInfo(MachineType type, quint32 cap, QString loadername, QString brand, QString model, QString modelnumber, QString serial, QString series, QDateTime lastimported, int version, QDate purgeDate = QDate()) :
|
||||
type(type), cap(cap), loadername(loadername), brand(brand), model(model), modelnumber(modelnumber), serial(serial), series(series), lastimported(lastimported), version(version), purgeDate(purgeDate) {}
|
||||
|
@ -31,6 +31,7 @@ public:
|
||||
ChannelCalc(const ChannelCalc & /*copy*/) = default;
|
||||
ChannelCalc(ChannelID code, ChannelCalcType type, QColor color, bool enabled):
|
||||
code(code), type(type), color(color), enabled(enabled) {}
|
||||
~ChannelCalc() {};
|
||||
|
||||
QString label();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user