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