git-svn-id: svn://db.shs.com.ru/pip@384 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5

This commit is contained in:
2017-04-17 12:52:08 +00:00
parent ff647e6054
commit c4c53a68d6
11 changed files with 16 additions and 20 deletions

View File

@@ -19,7 +19,6 @@
#include "piintrospection.h"
#include "pisysteminfo.h"
#include <stdlib.h>
PIIntrospectionContainers::PIIntrospectionContainers() {
@@ -105,7 +104,7 @@ PIIntrospectionServer::PIIntrospectionServer(): PIPeer(genName()) {
PIString PIIntrospectionServer::genName() {
randomize();
return "__introspection__server_" + PIString::fromNumber(rand() % 1000);
return "__introspection__server_" + PIString::fromNumber(randomi() % 1000);
}