Skip to content

Commit 42a45b6

Browse files
committed
Merge branch 'develop' for 1.2 release
2 parents 0645af7 + 58d244e commit 42a45b6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

unittests/polymorphic.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ struct PolyDerivedD : PolyBaseB, PolyBaseC
102102
{
103103
PolyDerivedD() {}
104104
PolyDerivedD( std::string const & zz, double yy, int xx, long ww ) :
105-
PolyBaseB( xx, ww ), PolyBaseC( yy, ww ), z(zz) {}
105+
PolyBaseAA( ww ), PolyBaseB( xx, ww ), PolyBaseC( yy, ww ), z(zz) {}
106106
std::string z;
107107

108108
template <class Archive>
@@ -258,6 +258,7 @@ void test_polymorphic()
258258

259259
std::shared_ptr<PolyBaseA> o_sharedA = std::make_shared<PolyDerivedD>( random_basic_string<char>(gen),
260260
rngD(), rngI(), rngL() );
261+
261262
std::weak_ptr<PolyBaseA> o_weakA = o_sharedA;
262263
std::unique_ptr<PolyBaseA> o_uniqueA( new PolyDerivedD( random_basic_string<char>(gen),
263264
rngD(), rngI(), rngL() ) );

0 commit comments

Comments
 (0)