Skip to content

Commit

Permalink
Added missing includes
Browse files Browse the repository at this point in the history
  • Loading branch information
zajo committed Sep 3, 2024
1 parent bdfaede commit 863ac89
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions example/lua_callback_eh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ extern "C" {
}
#include <boost/leaf.hpp>
#include <iostream>
#include <memory>
#include <stdlib.h>

namespace leaf = boost::leaf;
Expand Down
1 change: 1 addition & 0 deletions example/lua_callback_result.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ extern "C" {
}
#include <boost/leaf.hpp>
#include <iostream>
#include <memory>
#include <stdlib.h>

namespace leaf = boost::leaf;
Expand Down
1 change: 1 addition & 0 deletions example/print_file/print_file_eh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

#include <boost/leaf.hpp>
#include <iostream>
#include <memory>
#include <stdio.h>

namespace leaf = boost::leaf;
Expand Down
1 change: 1 addition & 0 deletions example/print_file/print_file_outcome_result.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#include <boost/outcome/std_result.hpp>
#include <boost/leaf.hpp>
#include <iostream>
#include <memory>
#include <stdio.h>

namespace outcome = boost::outcome_v2;
Expand Down
1 change: 1 addition & 0 deletions example/print_file/print_file_result.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

#include <boost/leaf.hpp>
#include <iostream>
#include <memory>
#include <stdio.h>

namespace leaf = boost::leaf;
Expand Down
2 changes: 2 additions & 0 deletions include/boost/leaf/exception.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
#include <boost/leaf/config.hpp>
#include <boost/leaf/error.hpp>
#include <exception>
#include <memory>
#include <typeinfo>

#ifdef BOOST_LEAF_NO_EXCEPTIONS

Expand Down
1 change: 1 addition & 0 deletions include/boost/leaf/handle_errors.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

#include <boost/leaf/config.hpp>
#include <boost/leaf/context.hpp>
#include <typeinfo>

namespace boost { namespace leaf {

Expand Down

0 comments on commit 863ac89

Please sign in to comment.