mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 15:15:50 +08:00
* seed for random numbers per thread * added function to get all user metatypes as string * added new read file function per path/name * removed DBus operators for pixmap * JSON operators for byte array * util function for JSON string
This commit is contained in:
committed by
Mathew Sutcliffe
parent
19df8a5d71
commit
a725ce2181
@@ -100,10 +100,7 @@ namespace BlackMisc
|
||||
static double normalizeDegrees(double degrees);
|
||||
|
||||
//! Random number between low and high
|
||||
static int randomInteger(int low, int high)
|
||||
{
|
||||
return qrand() % ((high + 1) - low) + low;
|
||||
}
|
||||
static int randomInteger(int low, int high);
|
||||
};
|
||||
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user