From f8c4fe1614cc79df9f97c8a7754cf2a5aaf5063d Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Tue, 9 Jul 2024 18:58:56 +0200 Subject: Use libreichwein, and googletest from Debian --- mcc.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'mcc.cpp') 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 +#include #include @@ -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 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(unit.data()), unit.size()); -- cgit v1.2.3