Skip to content

Commit 4951261

Browse files
committed
format
1 parent ec1918a commit 4951261

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

‎rules/unique_ptr/src.cpp‎

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,17 +70,14 @@ template <typename T1> T1 *f18(const std::unique_ptr<T1> &o) {
7070
return o.operator->();
7171
}
7272

73-
template <typename T1>
74-
T1 &f19(const std::unique_ptr<T1[]> &o, std::size_t i) {
73+
template <typename T1> T1 &f19(const std::unique_ptr<T1[]> &o, std::size_t i) {
7574
return o[i];
7675
}
7776

78-
template <typename T1>
79-
bool f20(const std::unique_ptr<T1> &o, std::nullptr_t) {
77+
template <typename T1> bool f20(const std::unique_ptr<T1> &o, std::nullptr_t) {
8078
return o == nullptr;
8179
}
8280

83-
template <typename T1>
84-
bool f21(const std::unique_ptr<T1> &o, std::nullptr_t) {
81+
template <typename T1> bool f21(const std::unique_ptr<T1> &o, std::nullptr_t) {
8582
return o != nullptr;
8683
}

0 commit comments

Comments
 (0)