re #10489 Move of one line of code to satifsy cppcheck
Merge branch 'feature/10489_instrument_directories' of github.com:mantidproject/mantid into feature/10489_instrument_directories
re #10489 Move of one line of code to satifsy cppcheck