X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/8b62191d28d12714725bfcc33c18f0a02242b6d8..9523acd2d7be7b8bbbf6d8c786c68c91f9fcc700:/Server/tests/server_test.cpp diff --git a/Server/tests/server_test.cpp b/Server/tests/server_test.cpp index 2cd23dd..bdb6190 100644 --- a/Server/tests/server_test.cpp +++ b/Server/tests/server_test.cpp @@ -27,9 +27,9 @@ #include "plaqui/server/connection.h" #include "plaqui/server/server.h" +#include "plaqui/server/string.h" #include #include -#include #include using namespace std; @@ -53,8 +53,7 @@ int main(int argc, char* argv[]) { // Si tiene 2 parĂ¡metros. if (argc > 2) { // Obtengo puerto. - stringstream ss(argv[2]); - ss >> port; + to(argv[2], port); } }