diff options
author | randomdan <randomdan@localhost> | 2011-02-10 13:41:16 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2011-02-10 13:41:16 +0000 |
commit | 7e6515ca94d76869e3b8703885e8e1b10790efdd (patch) | |
tree | 8a46eaf2a21b6dd391435879e5beda201a67f730 /project2/fileRows.cpp | |
parent | Fix silly bug loading readonly RDBMS config entries (diff) | |
download | project2-7e6515ca94d76869e3b8703885e8e1b10790efdd.tar.bz2 project2-7e6515ca94d76869e3b8703885e8e1b10790efdd.tar.xz project2-7e6515ca94d76869e3b8703885e8e1b10790efdd.zip |
Get rid of that stupid LexicalCall and it's messy templates (what WAS I thinking?)
And replace it with a VariableType that wraps the boost::variant and is implicitly convertable to useful things (may need extending in time)
Diffstat (limited to 'project2/fileRows.cpp')
-rw-r--r-- | project2/fileRows.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/project2/fileRows.cpp b/project2/fileRows.cpp index 036cf4c..78a61a5 100644 --- a/project2/fileRows.cpp +++ b/project2/fileRows.cpp @@ -2,7 +2,6 @@ #include "rowProcessor.h" #include "xmlObjectLoader.h" #include "exceptions.h" -#include "genericVisitor.h" #include <boost/algorithm/string/predicate.hpp> ElementLoaderImpl<FileRows> filerowsLoader("filerows"); @@ -172,7 +171,7 @@ FileRows::addColumn(const Glib::ustring & rawtok) const FileStarChannel FileRows::doOpen() const { - FILE * f = LexicalCall<const char *, FILE *>(boost::bind(&fopen, _1, "r"), path()); + FILE * f = fopen(path(), "r"); if (!f) { throw FileNotReadable(); } |