summaryrefslogtreecommitdiffstats
path: root/src/WebAdmin.h
diff options
context:
space:
mode:
authorpeterbell10 <peterbell10@live.co.uk>2017-07-20 13:19:18 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2017-07-21 15:41:51 +0200
commita56cfd1f42663856e346a26cbad401aec07bed91 (patch)
tree2bbdef2d6d09e8625ceaddba443b3a97b2febb5e /src/WebAdmin.h
parentFastRandom: Remove discrepancy between arg and return value type. (#3846) (diff)
downloadcuberite-a56cfd1f42663856e346a26cbad401aec07bed91.tar
cuberite-a56cfd1f42663856e346a26cbad401aec07bed91.tar.gz
cuberite-a56cfd1f42663856e346a26cbad401aec07bed91.tar.bz2
cuberite-a56cfd1f42663856e346a26cbad401aec07bed91.tar.lz
cuberite-a56cfd1f42663856e346a26cbad401aec07bed91.tar.xz
cuberite-a56cfd1f42663856e346a26cbad401aec07bed91.tar.zst
cuberite-a56cfd1f42663856e346a26cbad401aec07bed91.zip
Diffstat (limited to '')
-rw-r--r--src/WebAdmin.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/WebAdmin.h b/src/WebAdmin.h
index a4effdbeb..b24a279e1 100644
--- a/src/WebAdmin.h
+++ b/src/WebAdmin.h
@@ -142,9 +142,9 @@ public:
AString m_Title;
AString m_UrlPath;
AString m_PluginName;
- SharedPtr<cWebTabCallback> m_Callback;
+ std::shared_ptr<cWebTabCallback> m_Callback;
- cWebTab(const AString & a_Title, const AString & a_UrlPath, const AString & a_PluginName, SharedPtr<cWebTabCallback> a_Callback):
+ cWebTab(const AString & a_Title, const AString & a_UrlPath, const AString & a_PluginName, std::shared_ptr<cWebTabCallback> a_Callback):
m_Title(a_Title),
m_UrlPath(a_UrlPath),
m_PluginName(a_PluginName),
@@ -152,7 +152,7 @@ public:
{
}
};
- typedef SharedPtr<cWebTab> cWebTabPtr;
+ typedef std::shared_ptr<cWebTab> cWebTabPtr;
typedef std::vector<cWebTabPtr> cWebTabPtrs;
@@ -214,7 +214,7 @@ public:
const AString & a_Title,
const AString & a_UrlPath,
const AString & a_PluginName,
- SharedPtr<cWebTabCallback> a_Callback
+ std::shared_ptr<cWebTabCallback> a_Callback
);
/** Removes the WebTab with the specified URL path.