Merge pull request #1232 from nicolasdespres/fix-canon_perftest

Fix compilation error in canon_perftest.