]> git.stg.codes - stg.git/blobdiff - include/stg/corp_conf.h
Various fixes of issues reported by static analyzers.
[stg.git] / include / stg / corp_conf.h
index d6cc2ebbe626f5422de591c3f9e47f26d4e97a83..3810516dfb8e73d3c786dfce5fba9ebdea4e4b24 100644 (file)
@@ -6,7 +6,7 @@
 struct CORP_CONF
 {
 CORP_CONF() : name(), cash(0) {}
-CORP_CONF(const std::string & n) : name(n), cash(0) {}
+explicit CORP_CONF(const std::string & n) : name(n), cash(0) {}
 CORP_CONF(const std::string & n, double c) : name(n), cash(c) {}
 
 std::string name;