mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-03 17:19:39 +00:00
Merge pull request #1909 from akortunov/warnfix
Fix all MSVC warnings left
This commit is contained in:
commit
387b3e9e87
2 changed files with 1 additions and 9 deletions
|
@ -109,7 +109,7 @@ void CSMTools::PathgridCheckStage::perform (int stage, CSMDoc::Messages& message
|
||||||
pathgrid.mPoints[i].mY == pathgrid.mPoints[j].mY &&
|
pathgrid.mPoints[i].mY == pathgrid.mPoints[j].mY &&
|
||||||
pathgrid.mPoints[i].mZ == pathgrid.mPoints[j].mZ)
|
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())
|
if (it == duplList.end())
|
||||||
{
|
{
|
||||||
std::ostringstream ss;
|
std::ostringstream ss;
|
||||||
|
|
|
@ -43,14 +43,6 @@ public:
|
||||||
|
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
template<typename T>
|
|
||||||
Log& operator<<(const T& rhs)
|
|
||||||
{
|
|
||||||
if (mLevel <= Debug::CurrentDebugLevel)
|
|
||||||
std::cout << std::forward<const T&>(rhs);
|
|
||||||
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
|
|
||||||
~Log()
|
~Log()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue