use shared_ptr for log's stream

This commit is contained in:
orignal committed 2016-02-04 12:36:58 -05:00
1 parent 2e7ce38552
commit 7ca1cfab1a
4 files changed
+14 -15

No files matched your search

+1 -1
View File
@@ -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);