1
0
mirror of https://github.com/anope/anope.git synced 2026-07-07 08:33:12 +02:00

Fix the location of &* on types.

This commit is contained in:
Sadie Powell
2026-03-26 16:01:05 +00:00
parent 5355b53008
commit eaa24d3b0a
14 changed files with 18 additions and 19 deletions
+2 -2
View File
@@ -152,7 +152,7 @@ public:
* @param def The default value if none is set.
*/
template <typename T = Anope::string>
T Load(const Anope::string& key, T def = T())
T Load(const Anope::string &key, T def = T())
{
T out;
if (!TryLoad(key, out))
@@ -186,7 +186,7 @@ public:
* @param out The location to store the retrieved value.
*/
template <typename T = Anope::string>
bool TryLoad(const Anope::string& key, T &out)
bool TryLoad(const Anope::string &key, T &out)
{
Anope::string out_str;
if (!LoadInternal(key, out_str))