Skip to content
Snippets Groups Projects

Release 0.2.0

Closed Timm Fitschen requested to merge release-0.2.0 into main
5 files
+ 22
15
Compare changes
  • Side-by-side
  • Inline

Files

@@ -246,10 +246,10 @@ public:
* Copy assignment operator.
*/
inline auto operator=(const DataType &other) -> DataType & {
if(this != &other) {
if (this != &other) {
this->reference_data_type.reset();
this->list_data_type.reset();
if(other.wrapped != nullptr) {
if (other.wrapped != nullptr) {
this->wrapped = ProtoMessageWrapper<ProtoDataType>::CopyProtoMessage(other.wrapped);
} else {
this->wrapped = nullptr;
@@ -262,7 +262,7 @@ public:
* Move assignment operator.
*/
inline auto operator=(DataType &&other) -> DataType & {
if(this != &other) {
if (this != &other) {
this->wrapped = other.wrapped;
other.wrapped = nullptr;
other.reference_data_type.reset();
Loading