mirror of
https://github.com/boostorg/contract.git
synced 2026-02-27 17:02:15 +00:00
resolved most todo and recompiled most examples and tests
This commit is contained in:
@@ -53,7 +53,7 @@ public:
|
||||
vector() : vect_() {
|
||||
boost::contract::guard c = boost::contract::constructor(this)
|
||||
.postcondition([&] {
|
||||
BOOST_CONTRACT_ASSERT(!empty());
|
||||
BOOST_CONTRACT_ASSERT(empty());
|
||||
})
|
||||
;
|
||||
}
|
||||
|
||||
@@ -52,7 +52,7 @@ public:
|
||||
|
||||
vector()
|
||||
postcondition {
|
||||
!empty();
|
||||
empty();
|
||||
}
|
||||
: vect_()
|
||||
{}
|
||||
|
||||
Reference in New Issue
Block a user