Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make variant constructor from std::shared_ptr a template
For some reason, when the variant constructor only accepts std::shared_ptr<const variant_callable>, MSVC2013 gets confused about which constructor it should call when it has, say, std::shared_ptr<ai::attack_analysis>. Making the constructor a template fixes it.
- Loading branch information
1 parent
d536d6a
commit 0b02ba0
Showing
2 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters