Skip to content

Commit

Permalink
Merge pull request #216 from CastXML/fix-core
Browse files Browse the repository at this point in the history
tests: fix compilation with c++14/17
  • Loading branch information
iMichka authored Dec 3, 2024
2 parents fec537c + 6c86036 commit 7c72a13
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/data/core_types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,11 @@ typedef EFavoriteDrinks typedef_EFavoriteDrinks;

typedef int (*function_ptr)(int, double);

struct exception{};

struct members_pointers_t{
int some_function( double hi, int i ){
return 0;
}
int some_function( double hi) const throw( exception ){
int some_function( double hi) const {
return 0;
};
int m_some_const_member;
Expand Down

0 comments on commit 7c72a13

Please sign in to comment.