aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/projectstore/httpprojectstore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/zenserver/projectstore/httpprojectstore.cpp')
-rw-r--r--src/zenserver/projectstore/httpprojectstore.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/zenserver/projectstore/httpprojectstore.cpp b/src/zenserver/projectstore/httpprojectstore.cpp
index 09f4c7ee2..eb6407e1f 100644
--- a/src/zenserver/projectstore/httpprojectstore.cpp
+++ b/src/zenserver/projectstore/httpprojectstore.cpp
@@ -22,9 +22,9 @@ namespace zen {
const FLLMTag&
GetProjectHttpTag()
{
- static FLLMTag CacheHttpTag("http", FLLMTag("project"));
+ static FLLMTag _("http", FLLMTag("project"));
- return CacheHttpTag;
+ return _;
}
void
@@ -241,6 +241,8 @@ HttpProjectService::HttpProjectService(CidStore& Store, ProjectStore* Projects,
, m_StatsService(StatsService)
, m_AuthMgr(AuthMgr)
{
+ ZEN_MEMSCOPE(GetProjectHttpTag());
+
using namespace std::literals;
m_StatsService.RegisterHandler("prj", *this);