Revert "Remove llarp::Config::Copy()"

This reverts commit 3a1c727b9b.
pull/1186/head
Stephen Shelton 4 years ago
parent de8e44ba21
commit 6a10a33e9e
No known key found for this signature in database
GPG Key ID: EE4BADACCE8B631C

@ -244,6 +244,17 @@ struct llarp_config
}
};
namespace llarp
{
llarp_config*
Config::Copy() const
{
llarp_config* ptr = new llarp_config();
ptr->impl = *this;
return ptr;
}
} // namespace llarp
extern "C"
{
size_t

Loading…
Cancel
Save