git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace boost::scoped_ptr with std::unique_ptr.
[stg.git]
/
include
/
stg
/
corp_conf.h
diff --git
a/include/stg/corp_conf.h
b/include/stg/corp_conf.h
index 9bbc03d326941e2edce782663cbec4e3cbd15163..5f941b954ec623b0447db1d7b78742dcc43abb98 100644
(file)
--- a/
include/stg/corp_conf.h
+++ b/
include/stg/corp_conf.h
@@
-28,7
+28,7
@@
struct CORP_CONF
{
CORP_CONF() : name(), cash(0) {}
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;
CORP_CONF(const std::string & n, double c) : name(n), cash(c) {}
std::string name;