Skip to content

Commit

Permalink
Compile fix (#3)
Browse files Browse the repository at this point in the history
* Add missing include
* Use correct check for __has_include(<span>)
  • Loading branch information
ma30002000 authored Oct 24, 2024
1 parent 67e28c4 commit 50a49f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion inc/goldfish/array_ref.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <vector>
#include <version>

#ifdef __has_include(<span>)
#if __has_include(<span>)
#include <span>
#else
#include <span-lite/span.hpp>
Expand Down
1 change: 1 addition & 0 deletions inc/goldfish/sax_reader.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include <optional>
#include "base64_stream.h"
#include "buffered_stream.h"
#include <limits>
#include <type_traits>
#include <variant>

Expand Down

0 comments on commit 50a49f1

Please sign in to comment.