Skip to content

Commit 567ad13

Browse files
Small header cleanup
1 parent 39d7acb commit 567ad13

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

include/bson/parse.hpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,8 @@
1313

1414
#include <mlib/alloc.h>
1515
#include <mlib/config.h>
16-
#include <mlib/object_t.hpp>
1716

1817
#include <algorithm> // std::ranges::copy
19-
#include <csignal>
2018
#include <iterator>
2119
#include <string>
2220
#include <string_view>
@@ -404,7 +402,7 @@ constexpr type_rule<T, P> type(P&& parse = {}) {
404402
*/
405403
template <typename F>
406404
struct action {
407-
mlib::object_t<F> _action;
405+
F _action;
408406

409407
template <typename T>
410408
constexpr basic_result operator()(T&& value) {

src/mlib/lazy_init.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#pragma once
22

33
#include <mlib/config.h>
4+
#include <mlib/invoke.hpp>
45
#include <mlib/object_t.hpp>
56

67
#include <concepts>

0 commit comments

Comments
 (0)