mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
use shared_ptr for log's stream
This commit is contained in:
parent
2e7ce38552
commit
7ca1cfab1a
4 changed files with 14 additions and 15 deletions
2
api.cpp
2
api.cpp
|
@ -31,7 +31,7 @@ namespace api
|
|||
i2p::crypto::TerminateCrypto ();
|
||||
}
|
||||
|
||||
void StartI2P (std::ostream * logStream)
|
||||
void StartI2P (std::shared_ptr<std::ostream> logStream)
|
||||
{
|
||||
if (logStream)
|
||||
StartLog (logStream);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue