aboutsummaryrefslogtreecommitdiffstats
path: root/include/configreader.h
diff options
context:
space:
mode:
authorGravatar Sadie Powell2020-11-03 14:48:54 +0000
committerGravatar Sadie Powell2020-11-03 19:54:13 +0000
commit89a21202de35eeec8ef464ada5e9fbb97fd83ba5 (patch)
treeb70c242c58bae562bef1d42c34c9d5d628d81208 /include/configreader.h
parentClean up a bunch of contructors and destructors. (diff)
downloadinspircd++-89a21202de35eeec8ef464ada5e9fbb97fd83ba5.tar.gz
inspircd++-89a21202de35eeec8ef464ada5e9fbb97fd83ba5.tar.bz2
inspircd++-89a21202de35eeec8ef464ada5e9fbb97fd83ba5.zip
Convert ConnectClass from reference<> to std::shared_ptr<>.
Diffstat (limited to 'include/configreader.h')
-rw-r--r--include/configreader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configreader.h b/include/configreader.h
index 80d189ca8..e1ade7ed9 100644
--- a/include/configreader.h
+++ b/include/configreader.h
@@ -279,7 +279,7 @@ class CoreExport ServerConfig
/** Holds a complete list of all connect blocks
*/
- typedef std::vector<reference<ConnectClass> > ClassVector;
+ typedef std::vector<std::shared_ptr<ConnectClass>> ClassVector;
/** Index of valid oper blocks and types
*/