From 4ae97ddb0957c626a01682e24c68710e608bcc43 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Fri, 28 Jan 2005 17:50:53 +0000 Subject: Splitted 'contentHandler' into three classes: 'emptyContentHandler', 'stringContentHandler' and 'streamContentHandler'. --- tests/parser/bodyPartTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/parser') diff --git a/tests/parser/bodyPartTest.cpp b/tests/parser/bodyPartTest.cpp index 59741736..0bfdb1e1 100644 --- a/tests/parser/bodyPartTest.cpp +++ b/tests/parser/bodyPartTest.cpp @@ -68,7 +68,7 @@ namespace { vmime::bodyPart p1; p1.getHeader()->getField("Foo")->setValue(vmime::string("bar")); - p1.getBody()->getContents() = "Baz"; + p1.getBody()->setContents(vmime::stringContentHandler("Baz")); assert_eq("1", "Foo: bar\r\n\r\nBaz", p1.generate()); } -- cgit