Commit a4e3682a authored by Daniel Vrátil's avatar Daniel Vrátil 🤖

Remove boost include from itempayloadinternals_p.h

We forward-declare boost::sharedptr in itempayloadinternals_p.h and
we assume that if anyone uses boost pointers with Akonadi, they have
to include the header themselves in the code that includes our item.h.

This way we don't have any boost includes in public interface, which
gets us rid of the 'Unknown compiler version' warning that boost
produces with newer MSVC.
parent 15ff5b17
......@@ -26,6 +26,8 @@
#include <QSharedPointer>
#include <QTemporaryFile>
#include <boost/shared_ptr.hpp>
using namespace Akonadi;
struct Volker {
......
......@@ -28,8 +28,6 @@
#include <typeinfo>
#include <memory>
#include <boost/shared_ptr.hpp>
#include "exceptionbase.h"
//@cond PRIVATE Doxygen 1.7.1 hangs processing this file. so skip it.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment