mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-20 15:40:32 +00:00
Merge pull request #1909 from akortunov/warnfix
Fix all MSVC warnings left
This commit is contained in:
commit
387b3e9e87
@ -109,7 +109,7 @@ void CSMTools::PathgridCheckStage::perform (int stage, CSMDoc::Messages& message
|
||||
pathgrid.mPoints[i].mY == pathgrid.mPoints[j].mY &&
|
||||
pathgrid.mPoints[i].mZ == pathgrid.mPoints[j].mZ)
|
||||
{
|
||||
std::vector<int>::const_iterator it = find(duplList.begin(), duplList.end(), i);
|
||||
std::vector<int>::const_iterator it = find(duplList.begin(), duplList.end(), static_cast<int>(i));
|
||||
if (it == duplList.end())
|
||||
{
|
||||
std::ostringstream ss;
|
||||
|
@ -43,14 +43,6 @@ public:
|
||||
|
||||
return *this;
|
||||
}
|
||||
template<typename T>
|
||||
Log& operator<<(const T& rhs)
|
||||
{
|
||||
if (mLevel <= Debug::CurrentDebugLevel)
|
||||
std::cout << std::forward<const T&>(rhs);
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
||||
~Log()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user