Skip to content

src: implement special member functions for Environment

The Environment class was missing the move constructor and the move assignmnet operator. As per the rule of five, a class must implement all the five special member functions in order to enable the compiler for better optimization.

Refs: https://en.cppreference.com/w/cpp/language/rule_of_three

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Merge request reports

Loading