X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/dd5a5045d5549015b6500726098cb43d1e1c614c..0d72fb12dc9a570be45e2f25320ac49f604c3ed2:/Server/tests/server_test.cpp diff --git a/Server/tests/server_test.cpp b/Server/tests/server_test.cpp index 3233413..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[1]); - ss >> port; + to(argv[2], port); } }