oatpp / website

oatpp.io public website
https://oatpp.io/
Apache License 2.0
13 stars 24 forks source link

Fix namespace of createShared function #7

Closed Jeftah closed 4 years ago

Jeftah commented 4 years ago

I think that the examples contained an error. The function createShared was in the examples in namespace oatpp::network::server::tcp::ConnectionProvider, but in the sample repo it is in namespace oatpp::network::tcp::server::ConnectionProvider.

I used both versions and only the version in the example repo worked. So I corrected the examples.

lganzzzo commented 4 years ago

Yes, you are correct, It's a mistake in the docs! Thanks for fixing it!

lganzzzo commented 4 years ago

Deployed