diff options
Diffstat (limited to 'modules/webcpanel/pages/index.cpp')
-rw-r--r-- | modules/webcpanel/pages/index.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/webcpanel/pages/index.cpp b/modules/webcpanel/pages/index.cpp index 2eee59e26..bb986ce54 100644 --- a/modules/webcpanel/pages/index.cpp +++ b/modules/webcpanel/pages/index.cpp @@ -60,15 +60,15 @@ class WebpanelRequest : public IdentifyRequest { HTTPReply::cookie c; - c.push_back(std::make_pair("account", na->nick)); - c.push_back(std::make_pair("Path", "/")); + c.emplace_back("account", na->nick); + c.emplace_back("Path", "/"); reply.cookies.push_back(c); } { HTTPReply::cookie c; - c.push_back(std::make_pair("id", id)); - c.push_back(std::make_pair("Path", "/")); + c.emplace_back("id", id); + c.emplace_back("Path", "/"); reply.cookies.push_back(c); } |