summaryrefslogtreecommitdiffhomepage
path: root/mcc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mcc.cpp')
-rw-r--r--mcc.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/mcc.cpp b/mcc.cpp
index bb89d29..de391a2 100644
--- a/mcc.cpp
+++ b/mcc.cpp
@@ -4,8 +4,9 @@
#include "cpp.h"
#include "elf.h"
-#include "file.h"
-#include "programopts.h"
+
+#include <libreichwein/file.h>
+#include <libreichwein/programopts.h>
#include <iostream>
@@ -29,7 +30,7 @@ int main(int argc, char* argv[])
try {
CPP cpp;
- ProgramOpts options(argc, argv, option_prefixes);
+ Reichwein::ProgramOpts options(argc, argv, option_prefixes);
options.process();
std::vector<std::string> parameters {options.nonOptionArguments()};
@@ -45,7 +46,7 @@ int main(int argc, char* argv[])
if (in_filename == out_filename)
throw std::runtime_error("Bad output filename: "s + out_filename.generic_string());
- auto unit {File::getFile(in_filename)};
+ auto unit {Reichwein::File::getFile(in_filename)};
std::string unit_string(reinterpret_cast<char*>(unit.data()), unit.size());