Explorar el Código

Fixed serialization bug.

Andrew Beams hace 4 años
padre
commit
314e6e26fe
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/pir_server.cpp

+ 1 - 1
src/pir_server.cpp

@@ -141,7 +141,7 @@ PirQuery PIRServer::deserialize_query(stringstream &stream) {
           cs.push_back(c);
         }
 
-        q.push_back(cs);
+        q.emplace(q.begin(), cs);
     }
 
     return q;