fix compilation error in docs code, see #3072
DOC: Difference Between Actor Reference and Path, see #3072