summaryrefslogtreecommitdiff
path: root/extractor/compile.cc
diff options
context:
space:
mode:
Diffstat (limited to 'extractor/compile.cc')
-rw-r--r--extractor/compile.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/extractor/compile.cc b/extractor/compile.cc
index c3ea3c8d..f5cd41f4 100644
--- a/extractor/compile.cc
+++ b/extractor/compile.cc
@@ -77,8 +77,9 @@ int main(int argc, char** argv) {
source_suffix_array->WriteBinary(output_dir / fs::path("f.bin"));
target_data_array->WriteBinary(output_dir / fs::path("e.bin"));
- Alignment alignment(vm["alignment"].as<string>());
- alignment.WriteBinary(output_dir / fs::path("a.bin"));
+ shared_ptr<Alignment> alignment =
+ make_shared<Alignment>(vm["alignment"].as<string>());
+ alignment->WriteBinary(output_dir / fs::path("a.bin"));
Precomputation precomputation(
source_suffix_array,