• R/O
  • SSH
  • HTTPS

peframework: Commit


Commit MetaInfo

Revision30 (tree)
Time2019-04-14 22:55:31
Authorquiret

Log Message

- tiny adjustment for cleanliness

Change Summary

Incremental Difference

--- library/include/peloader.h (revision 29)
+++ library/include/peloader.h (revision 30)
@@ -583,14 +583,16 @@
583583 }
584584
585585 public:
586- inline void operator = ( PESectionAllocation&& right ) noexcept
586+ inline PESectionAllocation& operator = ( PESectionAllocation&& right ) noexcept
587587 {
588588 // Actually the same as the destructor does.
589589 this->removeFromSection();
590590
591591 new (this) PESectionAllocation( std::move( right ) );
592+
593+ return *this;
592594 }
593- inline void operator = ( const PESectionAllocation& right ) = delete;
595+ inline PESectionAllocation& operator = ( const PESectionAllocation& right ) = delete;
594596
595597 inline ~PESectionAllocation( void )
596598 {
Show on old repository browser