summaryrefslogtreecommitdiff
path: root/extractor/alignment.cc
diff options
context:
space:
mode:
authorPaul Baltescu <pauldb89@gmail.com>2013-03-06 15:25:54 +0000
committerPaul Baltescu <pauldb89@gmail.com>2013-03-06 15:25:54 +0000
commite1ffc4886b98f7ddcd2ec30d740aa2de8282cd8e (patch)
treeca51b9fc3b61f4177caaef467c9add26737cfc49 /extractor/alignment.cc
parenta283adae755aa8617119afb283b9b874f64cf911 (diff)
Namespace for extractor.
Diffstat (limited to 'extractor/alignment.cc')
-rw-r--r--extractor/alignment.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/extractor/alignment.cc b/extractor/alignment.cc
index ff39d484..f9bbcf6a 100644
--- a/extractor/alignment.cc
+++ b/extractor/alignment.cc
@@ -13,6 +13,8 @@
namespace fs = boost::filesystem;
using namespace std;
+namespace extractor {
+
Alignment::Alignment(const string& filename) {
ifstream infile(filename.c_str());
string line;
@@ -49,3 +51,5 @@ void Alignment::WriteBinary(const fs::path& filepath) {
fwrite(alignment.data(), sizeof(pair<int, int>), size, file);
}
}
+
+} // namespace extractor