From 977eab7c4a99d1c65d368a114045ee074f44e981 Mon Sep 17 00:00:00 2001 From: ovz Date: Tue, 18 Mar 2014 14:25:55 -0700 Subject: [PATCH] Fixed failing test zone_allocate_constructor. Corrected a typo in definition of myclass constructor with parameters. --- test/pack_unpack.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/pack_unpack.cc b/test/pack_unpack.cc index fe4625a5..ac47f2d9 100644 --- a/test/pack_unpack.cc +++ b/test/pack_unpack.cc @@ -31,7 +31,7 @@ struct myclass { myclass() : num(0), str("default") { } myclass(int num, const std::string& str) : - num(0), str("default") { } + num(num), str(str) { } ~myclass() { }