Change 'typedef' constructions to type aliases
This commit is contained in:
parent
a3d70bbcb5
commit
3ab6cd8a39
8 changed files with 11 additions and 11 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue