aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMark Brand <[email protected]>2013-09-22 23:18:43 +0000
committerMark Brand <[email protected]>2013-09-22 23:20:01 +0000
commit8db7f446d7a54a19c60a9e154273918491056338 (patch)
tree7e1dd1a78d41c07ee930789c6efd37c608c2a0a8 /examples
parentMerge pull request #53 from mabrand/fix (diff)
downloadvmime-8db7f446d7a54a19c60a9e154273918491056338.tar.gz
vmime-8db7f446d7a54a19c60a9e154273918491056338.zip
update class name in example
follow-up to 62828e20d483647a9d27bb42cb65943da0f75b78
Diffstat (limited to 'examples')
-rw-r--r--examples/example6.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/example6.cpp b/examples/example6.cpp
index c4acc1c5..e4b272a5 100644
--- a/examples/example6.cpp
+++ b/examples/example6.cpp
@@ -292,11 +292,11 @@ static std::ostream& operator<<(std::ostream& os, const vmime::exception& e)
* @param s structure object
* @param level current depth
*/
-static void printStructure(vmime::ref <const vmime::net::structure> s, const int level = 0)
+static void printStructure(vmime::ref <const vmime::net::messageStructure> s, const int level = 0)
{
for (int i = 0 ; i < s->getPartCount() ; ++i)
{
- vmime::ref <const vmime::net::part> part = s->getPartAt(i);
+ vmime::ref <const vmime::net::messagePart> part = s->getPartAt(i);
for (int j = 0 ; j < level * 2 ; ++j)
std::cout << " ";