summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gentoobrowse-api/service/xsltStreamSerializer.cpp4
-rw-r--r--gentoobrowse-api/service/xsltStreamSerializer.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/gentoobrowse-api/service/xsltStreamSerializer.cpp b/gentoobrowse-api/service/xsltStreamSerializer.cpp
index 376d03e..f796300 100644
--- a/gentoobrowse-api/service/xsltStreamSerializer.cpp
+++ b/gentoobrowse-api/service/xsltStreamSerializer.cpp
@@ -47,7 +47,7 @@ namespace Gentoo {
});
}
- IceTray::Mime::BasicSinglePartPtr XsltStreamSerializer::getHtml(xmlDoc * result)
+ IceTray::Mime::BasicPartPtr XsltStreamSerializer::getHtml(xmlDoc * result)
{
std::stringstream strm;
xmlOutputBufferPtr buf = xmlOutputBufferCreateIO(xmlstrmwritecallback, xmlstrmclosecallback, &strm, NULL);
@@ -56,7 +56,7 @@ namespace Gentoo {
return std::make_shared<TextPart>(Headers {}, "text/html", strm.str());
}
- IceTray::Mime::BasicSinglePartPtr XsltStreamSerializer::getText(xmlDoc * result)
+ IceTray::Mime::BasicPartPtr XsltStreamSerializer::getText(xmlDoc * result)
{
std::stringstream strm;
std::vector<std::string> callLynx;
diff --git a/gentoobrowse-api/service/xsltStreamSerializer.h b/gentoobrowse-api/service/xsltStreamSerializer.h
index 7719856..20c3c05 100644
--- a/gentoobrowse-api/service/xsltStreamSerializer.h
+++ b/gentoobrowse-api/service/xsltStreamSerializer.h
@@ -15,8 +15,8 @@ namespace Gentoo {
void Serialize(Slicer::ModelPartForRootPtr mp) override;
protected:
- static IceTray::Mime::BasicSinglePartPtr getHtml(xmlDoc *);
- static IceTray::Mime::BasicSinglePartPtr getText(xmlDoc *);
+ static IceTray::Mime::BasicPartPtr getHtml(xmlDoc *);
+ static IceTray::Mime::BasicPartPtr getText(xmlDoc *);
IceTray::Mail::EmailPtr mail;
xmlpp::Document * doc;