diff options
author | Roland Reichwein <mail@reichwein.it> | 2024-07-09 18:58:56 +0200 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2024-07-09 18:58:56 +0200 |
commit | f8c4fe1614cc79df9f97c8a7754cf2a5aaf5063d (patch) | |
tree | a5912910fc40b408c05172d438cd0d53192b2211 /mcc.cpp | |
parent | c156b07da6e8550f989919c3a015acdedfe8664f (diff) |
Use libreichwein, and googletest from Debian
Diffstat (limited to 'mcc.cpp')
-rw-r--r-- | mcc.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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()); |