summaryrefslogtreecommitdiff
path: root/src/render.cc
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-09-03 04:10:36 (GMT)
committerMarius Kintel <marius@kintel.net>2011-09-03 04:10:36 (GMT)
commit6f632190a05417d44193e3b16a7b3000b2cc1145 (patch)
tree9ddccef57c10361a7019274f79f1d86edb7630d3 /src/render.cc
parent3129189342f3da7322efa0b860ff3ff676ba7b77 (diff)
Ported a bunch of stuff from Qt to STL
Diffstat (limited to 'src/render.cc')
-rw-r--r--src/render.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/render.cc b/src/render.cc
index a463c67..15b4863 100644
--- a/src/render.cc
+++ b/src/render.cc
@@ -36,9 +36,9 @@
#include "progress.h"
#include "visitor.h"
-#include <QApplication>
-#include <QTime>
#include <sstream>
+#include <boost/assign/std/vector.hpp>
+using namespace boost::assign; // bring 'operator+=()' into scope
class RenderModule : public AbstractModule
{
@@ -51,8 +51,9 @@ AbstractNode *RenderModule::evaluate(const Context *ctx, const ModuleInstantiati
{
RenderNode *node = new RenderNode(inst);
- QVector<QString> argnames = QVector<QString>() << "convexity";
- QVector<Expression*> argexpr;
+ std::vector<std::string> argnames;
+ argnames += "convexity";
+ std::vector<Expression*> argexpr;
Context c(ctx);
c.args(argnames, argexpr, inst->argnames, inst->argvalues);
contact: Jan Huwald // Impressum