mirror of
https://github.com/lubosz/overte.git
synced 2025-04-12 08:42:10 +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;
|
||||
if (traceDuration > 0.0) {
|
||||
if (traceDuration > 0.0f) {
|
||||
exitTimer.setSingleShot(true);
|
||||
QObject::connect(&exitTimer, &QTimer::timeout, &app, &Application::quit);
|
||||
exitTimer.start(int(1000 * traceDuration));
|
||||
|
|
|
@ -160,7 +160,7 @@ public:
|
|||
|
||||
|
||||
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));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue