Skip to content

Commit

Permalink
Refs #10283. Changing back constructor of CrystalStructure
Browse files Browse the repository at this point in the history
Apparently VS does not like boost::make_shared as default argument in a constructor.
  • Loading branch information
Michael Wedel committed Nov 5, 2014
1 parent ffa54aa commit ad1be54
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -142,7 +142,7 @@ class DLLExport CrystalStructure

CrystalStructure(const UnitCell &unitCell,
const PointGroup_sptr &pointGroup = PointGroupFactory::Instance().createPointGroup("-1"),
const ReflectionCondition_sptr &centering = boost::make_shared<ReflectionConditionPrimitive>());
const ReflectionCondition_sptr &centering = ReflectionCondition_sptr(new ReflectionConditionPrimitive));

CrystalStructure(const UnitCell &unitCell,
const SpaceGroup_const_sptr &spaceGroup,
Expand Down

0 comments on commit ad1be54

Please sign in to comment.