\r
if (bHelp)\r
{\r
- matPrint(canvas, 2, fontColorNV, ostringstream("Space - switch GPU / CPU"));\r
- matPrint(canvas, 3, fontColorNV, ostringstream("M - switch OneFace / MultiFace"));\r
- matPrint(canvas, 4, fontColorNV, ostringstream("F - toggle rectangles Filter"));\r
- matPrint(canvas, 5, fontColorNV, ostringstream("H - toggle hotkeys help"));\r
+ matPrint(canvas, 2, fontColorNV, (ostringstream&)(ostringstream() << "Space - switch GPU / CPU"));\r
+ matPrint(canvas, 3, fontColorNV, (ostringstream&)(ostringstream() << "M - switch OneFace / MultiFace"));\r
+ matPrint(canvas, 4, fontColorNV, (ostringstream&)(ostringstream() << "F - toggle rectangles Filter"));\r
+ matPrint(canvas, 5, fontColorNV, (ostringstream&)(ostringstream() << "H - toggle hotkeys help"));\r
}\r
else\r
{\r
- matPrint(canvas, 2, fontColorNV, ostringstream("H - toggle hotkeys help"));\r
+ matPrint(canvas, 2, fontColorNV, (ostringstream&)(ostringstream() << "H - toggle hotkeys help"));\r
}\r
}\r
\r