[nostalgia/tools/pack] Remove using namespaces

This commit is contained in:
Gary Talent 2020-01-24 22:57:28 -06:00
parent 8037bc9535
commit a2c8df83c6

View File

@ -17,9 +17,6 @@
#include "pack/pack.hpp"
using namespace std;
using namespace ox;
static void writeFileBuff(const std::string &path, std::vector<uint8_t> &buff) {
try {
std::ofstream f(path, std::ios::binary);
@ -29,7 +26,7 @@ static void writeFileBuff(const std::string &path, std::vector<uint8_t> &buff) {
}
}
void run(ClArgs args) {
void run(ox::ClArgs args) {
std::string argSrc = args.getString("src").c_str();
std::string argDst = args.getString("dst").c_str();
if (argSrc == "") {
@ -55,7 +52,7 @@ void run(ClArgs args) {
int main(int argc, const char **args) {
try {
run(ClArgs(argc, args));
run(ox::ClArgs(argc, args));
} catch (const ox::Error &err) {
oxAssert(err, "pack failed");
std::cerr << "pack failed...\n";