Skip to content

Commit

Permalink
Remove filesystem dependency
Browse files Browse the repository at this point in the history
I don't think it was even needed, and this should **hopefully** fix the
windows build
  • Loading branch information
ToMe25 committed Feb 16, 2021
1 parent 75156bd commit 606f4dd
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/hex-to-image.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#include <iostream>
#include <fstream>
#include <string>
#include <filesystem>
#include <vector>
#include <sstream>
#include <cmath>
Expand All @@ -16,7 +15,6 @@
#include "stb_image_write.h"

using namespace std;
namespace fs = std::filesystem;

enum class Commands {
Null,
Expand Down Expand Up @@ -151,7 +149,6 @@ int main(int argc, char **argv) {
output_file = output_file.substr(0, output_file.find(".PNG"));
}

input_file = (fs::current_path() / input_file).string();
ifstream hex_input(input_file);

if (hex_input.is_open()) {
Expand Down

0 comments on commit 606f4dd

Please sign in to comment.