summaryrefslogtreecommitdiff
path: root/src/particlecontainer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-07 17:55:36 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-07 21:38:21 +0300
commitffeffa2314dbe03e0ced58e0c465760b54908690 (patch)
tree3da4d65e43a4b55aed7c01ec612c9dec50d1bd1c /src/particlecontainer.h
parentae550d179c25e149f7e8a8d70011b364fb0d85d6 (diff)
downloadmanaverse-ffeffa2314dbe03e0ced58e0c465760b54908690.tar.gz
manaverse-ffeffa2314dbe03e0ced58e0c465760b54908690.tar.bz2
manaverse-ffeffa2314dbe03e0ced58e0c465760b54908690.tar.xz
manaverse-ffeffa2314dbe03e0ced58e0c465760b54908690.zip
fix cide style.
Add explicit keyword to some constructors.
Diffstat (limited to 'src/particlecontainer.h')
-rw-r--r--src/particlecontainer.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/particlecontainer.h b/src/particlecontainer.h
index d499fa84c..a85c2da50 100644
--- a/src/particlecontainer.h
+++ b/src/particlecontainer.h
@@ -44,8 +44,8 @@ public:
*
* delParent means that the destructor should also free the parent.
*/
- ParticleContainer(ParticleContainer *const parent = nullptr,
- const bool delParent = true);
+ explicit ParticleContainer(ParticleContainer *const parent = nullptr,
+ const bool delParent = true);
A_DELETE_COPY(ParticleContainer)
@@ -78,8 +78,8 @@ protected:
class ParticleList final : public ParticleContainer
{
public:
- ParticleList(ParticleContainer *const parent = nullptr,
- const bool delParent = true);
+ explicit ParticleList(ParticleContainer *const parent = nullptr,
+ const bool delParent = true);
A_DELETE_COPY(ParticleList)
@@ -109,8 +109,8 @@ protected:
class ParticleVector final : public ParticleContainer
{
public:
- ParticleVector(ParticleContainer *const parent = nullptr,
- const bool delParent = true);
+ explicit ParticleVector(ParticleContainer *const parent = nullptr,
+ const bool delParent = true);
A_DELETE_COPY(ParticleVector)