view TestFramework.cpp @ 11:f59ee8d3f8ea

Fix error string formatting.
author Tom Fredrik Blenning Klaussen <bfg@sim.no>
date Fri, 24 Aug 2012 22:56:21 +0200
parents 2833b7f8884a
children f711ddb56ae7
line wrap: on
line source

#include <QtCore/QString>
#include <QtCore/QDateTime>

std::ostream& operator<<(std::ostream& out, const QString& rhs)
{
  return out << rhs.toStdString();
}

std::ostream& operator<<(std::ostream& out, const QDateTime& rhs)
{
  return out << rhs.toString();
}