From e44d049f578a50e46c351072a44bc511d1b93376 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Thu, 10 May 2012 21:36:26 +0200 Subject: [PATCH] Fixed error in sample code. --- doc/book/msg.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/book/msg.tex b/doc/book/msg.tex index 5ebfe93b..384aab74 100644 --- a/doc/book/msg.tex +++ b/doc/book/msg.tex @@ -51,7 +51,7 @@ std::cout << std::endl << "It was sent by: " << hdr->From()->getValue().dynamicCast ()->getName().getConvertedText(ch) - << " (email: " << hdr->From()->getValue().getEmail() << ")" + << " (email: " << hdr->From()->getValue().dynamicCast()->getEmail() << ")" << std::endl; \end{lstlisting}