AllowRotation and size_t

This commit is contained in:
Aik-Siong Koh
2024-01-14 21:40:33 -07:00
committed by PaddleStroke
parent fe99ad2593
commit 85557e1fa4
285 changed files with 1854 additions and 1116 deletions

View File

@@ -8,6 +8,7 @@
#pragma once
#include <vector>
#include <limits>
#include "MbDMath.h"
@@ -27,7 +28,7 @@ namespace MbD {
{
T previous, next;
next = vec->at(0);
for (int i = 1; i < (int)vec->size(); i++)
for (size_t i = 1; i < vec->size(); i++)
{
previous = next;
next = vec->at(i);