Avoid use of deprecated ctor of IRTreePrinter
Merge pull request #961 from gzm0/no-deprecated

Avoid use of deprecated ctor of IRTreePrinter