sal/log.hxx is what was missing
Change-Id: I11aa264391aa4fcd90d171b9a6d93ed8e430b6cc
This commit is contained in:
parent
b186e6f1ad
commit
c47f7dfb30
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
#include <comphelper/random.hxx>
|
#include <comphelper/random.hxx>
|
||||||
#include <rtl/instance.hxx>
|
#include <rtl/instance.hxx>
|
||||||
#include <rtl/ustring.hxx>
|
#include <sal/log.hxx>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <random>
|
#include <random>
|
||||||
@ -51,7 +51,7 @@ struct RandomNumberGenerator
|
|||||||
}
|
}
|
||||||
catch (std::runtime_error& e)
|
catch (std::runtime_error& e)
|
||||||
{
|
{
|
||||||
SAL_WARN("comphelper.random", OUString("Using std::random_device failed: ") << e.what());
|
SAL_WARN("comphelper.random", "Using std::random_device failed: " << e.what());
|
||||||
global_rng.seed(time(nullptr));
|
global_rng.seed(time(nullptr));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user