mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 21:48:21 +00:00
Use std::make_unique in one place instead of declaring unique_ptr directly
This commit is contained in:
parent
de13bb6361
commit
9de5d1e8d5
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ namespace zeek::analyzer::xmpp
|
|||
XMPP_Analyzer::XMPP_Analyzer(Connection* conn)
|
||||
: analyzer::tcp::TCP_ApplicationAnalyzer("XMPP", conn)
|
||||
{
|
||||
interp = unique_ptr<binpac::XMPP::XMPP_Conn>(new binpac::XMPP::XMPP_Conn(this));
|
||||
interp = std::make_unique<binpac::XMPP::XMPP_Conn>(this);
|
||||
had_gap = false;
|
||||
tls_active = false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue