Skip to content

Commit

Permalink
Merge branch 'develop' for 1.2 release
Browse files Browse the repository at this point in the history
  • Loading branch information
AzothAmmo committed Jun 30, 2016
2 parents 0645af7 + 58d244e commit 42a45b6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion unittests/polymorphic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ struct PolyDerivedD : PolyBaseB, PolyBaseC
{
PolyDerivedD() {}
PolyDerivedD( std::string const & zz, double yy, int xx, long ww ) :
PolyBaseB( xx, ww ), PolyBaseC( yy, ww ), z(zz) {}
PolyBaseAA( ww ), PolyBaseB( xx, ww ), PolyBaseC( yy, ww ), z(zz) {}
std::string z;

template <class Archive>
Expand Down Expand Up @@ -258,6 +258,7 @@ void test_polymorphic()

std::shared_ptr<PolyBaseA> o_sharedA = std::make_shared<PolyDerivedD>( random_basic_string<char>(gen),
rngD(), rngI(), rngL() );

std::weak_ptr<PolyBaseA> o_weakA = o_sharedA;
std::unique_ptr<PolyBaseA> o_uniqueA( new PolyDerivedD( random_basic_string<char>(gen),
rngD(), rngI(), rngL() ) );
Expand Down

0 comments on commit 42a45b6

Please sign in to comment.