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

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