Skip to content

Commit 8a05a6f

Browse files
committed
fix formatting messing up
1 parent e98cfd0 commit 8a05a6f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

unittest/user_type.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,9 @@ void expose_custom_type(const std::string& name) {
156156
typedef CustomType<Scalar> Type;
157157

158158
// use ""_a literal
159-
bp::class_<Type>(name.c_str(), bp::init<Scalar>("value" _a))
160-
159+
// clang-format off
160+
bp::class_<Type>(name.c_str(), bp::init<Scalar>("value"_a))
161+
// clang-format on
161162
.def(bp::self + bp::self)
162163
.def(bp::self - bp::self)
163164
.def(bp::self * bp::self)

0 commit comments

Comments
 (0)