Skip to content

Commit e801a56

Browse files
committed
Fix warning in Policy copy constructor
Signed-off-by: Maxime Gervais <gervais.maxime@gmail.com>
1 parent cd4825a commit e801a56

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Source/Common/Policy.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ Policy::Policy(const Policy* p)
4141
this->name = p->name;
4242
this->description = p->description;
4343
this->tags = p->tags;
44+
this->type = p->type;
4445
this->level = p->level;
4546
this->license = p->license;
4647
this->is_system = false;
@@ -60,6 +61,7 @@ Policy::Policy(const Policy& p)
6061
this->name = p.name;
6162
this->description = p.description;
6263
this->tags = p.tags;
64+
this->type = p.type;
6365
this->level = p.level;
6466
this->license = p.license;
6567
this->is_system = p.is_system;

0 commit comments

Comments
 (0)