Skip to content

Commit 7c72a13

Browse files
authored
Merge pull request #216 from CastXML/fix-core
tests: fix compilation with c++14/17
2 parents fec537c + 6c86036 commit 7c72a13

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/data/core_types.hpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,11 @@ typedef EFavoriteDrinks typedef_EFavoriteDrinks;
4848

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

51-
struct exception{};
52-
5351
struct members_pointers_t{
5452
int some_function( double hi, int i ){
5553
return 0;
5654
}
57-
int some_function( double hi) const throw( exception ){
55+
int some_function( double hi) const {
5856
return 0;
5957
};
6058
int m_some_const_member;

0 commit comments

Comments
 (0)