Skip to content

Commit b735f25

Browse files
authored
Merge pull request #7 from cschreib/warnings
Remove extra semicolons
2 parents 1053747 + 9ddce90 commit b735f25

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

include/oup/observable_unique_ptr.hpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1321,7 +1321,7 @@ class basic_enable_observer_from_this : public
13211321
*/
13221322
template<typename U = T, typename enable =
13231323
std::enable_if_t<std::is_same_v<U,T> && !queries::eoft_base_constructor_needs_block()>>
1324-
basic_enable_observer_from_this() noexcept(!queries::eoft_constructor_allocates()) {};
1324+
basic_enable_observer_from_this() noexcept(!queries::eoft_constructor_allocates()) {}
13251325

13261326
/// Early assignment of control block.
13271327
/** \param block The pre-allocated control block
@@ -1344,7 +1344,7 @@ class basic_enable_observer_from_this : public
13441344
noexcept(!queries::eoft_constructor_allocates()) {
13451345
// Do not copy the other object's observer, this would be an
13461346
// invalid reference.
1347-
};
1347+
}
13481348

13491349
/// Move constructor.
13501350
/** \note This constructor is only enabled if `Policy::eoft_constructor_takes_control_block` is false.
@@ -1355,21 +1355,21 @@ class basic_enable_observer_from_this : public
13551355
noexcept(!queries::eoft_constructor_allocates()) {
13561356
// Do not move the other object's observer, this would be an
13571357
// invalid reference.
1358-
};
1358+
}
13591359

13601360
/// Copy assignment operator.
13611361
basic_enable_observer_from_this& operator=(const basic_enable_observer_from_this&) noexcept {
13621362
// Do not copy the other object's observer, this would be an
13631363
// invalid reference.
13641364
return *this;
1365-
};
1365+
}
13661366

13671367
/// Move assignment operator.
13681368
basic_enable_observer_from_this& operator=(basic_enable_observer_from_this&&) noexcept {
13691369
// Do not move the other object's observer, this would be an
13701370
// invalid reference.
13711371
return *this;
1372-
};
1372+
}
13731373

13741374
public:
13751375
/// Type of observer pointers.

0 commit comments

Comments
 (0)