summaryrefslogtreecommitdiff
path: root/project2/fileRows.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'project2/fileRows.cpp')
-rw-r--r--project2/fileRows.cpp3
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();
}