mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-05-30 19:01:43 +02:00
Tweaks for clang error and gcc warning
This commit is contained in:
parent
5c141aa5e9
commit
a584d67acd
2 changed files with 2 additions and 2 deletions
|
@ -264,7 +264,7 @@ int main(int argc, const char* argv[]) {
|
||||||
|
|
||||||
|
|
||||||
QTimer exitTimer;
|
QTimer exitTimer;
|
||||||
if (traceDuration > 0.0) {
|
if (traceDuration > 0.0f) {
|
||||||
exitTimer.setSingleShot(true);
|
exitTimer.setSingleShot(true);
|
||||||
QObject::connect(&exitTimer, &QTimer::timeout, &app, &Application::quit);
|
QObject::connect(&exitTimer, &QTimer::timeout, &app, &Application::quit);
|
||||||
exitTimer.start(int(1000 * traceDuration));
|
exitTimer.start(int(1000 * traceDuration));
|
||||||
|
|
|
@ -160,7 +160,7 @@ public:
|
||||||
|
|
||||||
|
|
||||||
void applyConfiguration() override {
|
void applyConfiguration() override {
|
||||||
Duration profileRange(trace_render(), ("configure::" + getName()).c_str());
|
Duration profileRange(trace_render(), ("configure::" + JobConcept::getName()).c_str());
|
||||||
|
|
||||||
jobConfigure(_data, *std::static_pointer_cast<C>(Concept::_config));
|
jobConfigure(_data, *std::static_pointer_cast<C>(Concept::_config));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue