Skip to content

Commit

Permalink
Added missing #include <memory> in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
zajo committed Sep 3, 2024
1 parent a5c1afe commit 058ea44
Show file tree
Hide file tree
Showing 5 changed files with 5 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

0 comments on commit 058ea44

Please sign in to comment.