Skip to content

Commit

Permalink
Add missing includes:
Browse files Browse the repository at this point in the history
* std::logic_error is defined in <stdexcept>. These files reference it
  without including that header. In most environments, the definition is
  included through other headers, but not all.
  • Loading branch information
ximinez committed Jul 9, 2024
1 parent b77ceeb commit 35da45e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/nudb/detail/stream.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include <cstdint>
#include <cstring>
#include <memory>
#include <stdexcept>

namespace nudb {
namespace detail {
Expand Down
1 change: 1 addition & 0 deletions include/nudb/impl/context.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#define NUDB_IMPL_CONTEXT_IPP

#include <nudb/detail/store_base.hpp>
#include <stdexcept>

namespace nudb {

Expand Down

0 comments on commit 35da45e

Please sign in to comment.