mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-06-02 09:46:43 +08:00
0028934: Coding - Eliminate compiler warnings in OCCT samples
- covering Qt warnings for compilation under MSVC 2013 and greater - avoid warning about 'M_PI'(and others) redefinition warning of math.h: includes of QtWidgets should follow after other includes.
This commit is contained in:
@@ -19,24 +19,24 @@ FThread::~FThread()
|
||||
|
||||
}
|
||||
|
||||
void FThread::setIterator(const TFunction_Iterator& itr)
|
||||
void FThread::setIterator(const TFunction_Iterator& theItr)
|
||||
{
|
||||
this->itr = itr;
|
||||
this->itr = theItr;
|
||||
}
|
||||
|
||||
void FThread::setLogbook(const Handle(TFunction_Logbook)& log)
|
||||
void FThread::setLogbook(const Handle(TFunction_Logbook)& theLog)
|
||||
{
|
||||
this->log = log;
|
||||
this->log = theLog;
|
||||
}
|
||||
|
||||
void FThread::setGraph(GraphWidget* graph)
|
||||
void FThread::setGraph(GraphWidget* theGraph)
|
||||
{
|
||||
this->graph = graph;
|
||||
this->graph = theGraph;
|
||||
}
|
||||
|
||||
void FThread::setThreadIndex(const int thread_index)
|
||||
void FThread::setThreadIndex(const int theIndex)
|
||||
{
|
||||
this->thread_index = thread_index;
|
||||
this->thread_index = theIndex;
|
||||
}
|
||||
|
||||
// Returns any free (not executed yet) function
|
||||
|
||||
Reference in New Issue
Block a user