1 | Index: info.hpp
|
---|
2 | ===================================================================
|
---|
3 | --- info.hpp (revision 68766)
|
---|
4 | +++ info.hpp (working copy)
|
---|
5 | @@ -152,13 +152,20 @@
|
---|
6 | }
|
---|
7 | }
|
---|
8 |
|
---|
9 | + private:
|
---|
10 | + error_info_container_impl(const error_info_map& i):
|
---|
11 | + count_(0), info_(i)
|
---|
12 | + {
|
---|
13 | + }
|
---|
14 | +
|
---|
15 | + public:
|
---|
16 | +
|
---|
17 | refcount_ptr<error_info_container>
|
---|
18 | clone() const
|
---|
19 | {
|
---|
20 | refcount_ptr<error_info_container> p;
|
---|
21 | - error_info_container_impl * c=new error_info_container_impl;
|
---|
22 | + error_info_container_impl * c=new error_info_container_impl(info_);
|
---|
23 | p.adopt(c);
|
---|
24 | - c->info_ = info_;
|
---|
25 | return p;
|
---|
26 | }
|
---|
27 | };
|
---|