Fix was just to move the NcGroup(NcGroup&&) and NcGroup& operator=(NcGroup&&) move constructor and move-assignment operator from ncFile.h into ncGroup.h. I've also added a very simple test to demonstrate it works. Without the move constructors, this test will not compile.
This is just #60 + fix and (very basic) test.
Fix was just to move the
NcGroup(NcGroup&&)
andNcGroup& operator=(NcGroup&&)
move constructor and move-assignment operator fromncFile.h
intoncGroup.h
. I've also added a very simple test to demonstrate it works. Without the move constructors, this test will not compile.