Skip to content

Commit

Permalink
add include <optional> for linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
gewang committed Apr 13, 2024
1 parent 712ae4a commit e5c9b19
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/fetch.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <fstream>
#include <regex>
#include <cstdlib>
#include <optional>

using json = nlohmann::json;

Expand Down
2 changes: 1 addition & 1 deletion src/package_list.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define __PACKAGELIST_H__

#include <fstream>

#include <optional>
#include <nlohmann/json.hpp>

#include "package.h"
Expand Down

0 comments on commit e5c9b19

Please sign in to comment.