Skip to content

Commit

Permalink
Replaced typedef with using
Browse files Browse the repository at this point in the history
  • Loading branch information
gentlegiantJGC committed Oct 12, 2024
1 parent 8b9e5d1 commit ccb165b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_class.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ void bind_empty0(py::module_ &m) {

namespace pr5396_forward_declared_class {
class ForwardClass;
typedef class ForwardClass *ForwardClassPtr;
using ForwardClassPtr = class ForwardClass*;
class Args : public py::args {};
} // namespace pr5396_forward_declared_class

Expand Down

0 comments on commit ccb165b

Please sign in to comment.