Change 'typedef' constructions to type aliases

This commit is contained in:
knowledge4igor 2017-09-05 01:32:21 +03:00
commit 3ab6cd8a39
8 changed files with 11 additions and 11 deletions

View file

@ -17,8 +17,8 @@ using namespace std;
// Added for the json-example:
using namespace boost::property_tree;
typedef SimpleWeb::Server<SimpleWeb::HTTPS> HttpsServer;
typedef SimpleWeb::Client<SimpleWeb::HTTPS> HttpsClient;
using HttpsServer = SimpleWeb::Server<SimpleWeb::HTTPS>;
using HttpsClient = SimpleWeb::Client<SimpleWeb::HTTPS>;
int main() {
// HTTPS-server at port 8080 using 1 thread