Typo in RTT Cheat Sheet v1.2

Hi,

I just found a typo in the RTT Cheat Sheet v1.2:

the syntax for addOperation of a member function misses the "this" argument:

// in constructor or con?gureHook():
addOperation("checkFoo",
&MyComp::checkFoo)
.doc("...").arg("arg","...");

should be:

// in constructor or con?gureHook():
addOperation("checkFoo",
&MyComp::checkFoo, this)
.doc("...").arg("arg","...");

The attached patch fixes the issue.

Ruben

AttachmentSize
0001-doc-rtt_cheat_sheet-fix-typo-in-addOperation-of-clas.patch8.01 KB