summaryrefslogtreecommitdiff
path: root/extractor/translation_table.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
commitab5367aa2c42126a04034cd7d3cec125bca399ca (patch)
tree9698d9d23ed7618554c61624f8899eb8ba9b3b09 /extractor/translation_table.cc
parent245e705ac7b6fca80a7aa4898f5467053ec2c585 (diff)
Namespace for extractor.
Diffstat (limited to 'extractor/translation_table.cc')
-rw-r--r--extractor/translation_table.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/extractor/translation_table.cc b/extractor/translation_table.cc
index a48c0657..1852a357 100644
--- a/extractor/translation_table.cc
+++ b/extractor/translation_table.cc
@@ -10,6 +10,8 @@
using namespace std;
+namespace extractor {
+
TranslationTable::TranslationTable(shared_ptr<DataArray> source_data_array,
shared_ptr<DataArray> target_data_array,
shared_ptr<Alignment> alignment) :
@@ -115,3 +117,5 @@ void TranslationTable::WriteBinary(const fs::path& filepath) const {
fwrite(&entry.second, sizeof(entry.second), 1, file);
}
}
+
+} // namespace extractor