diff --git a/desktop_version/src/UtilityClass.h b/desktop_version/src/UtilityClass.h index ea475cc1..9842f17b 100644 --- a/desktop_version/src/UtilityClass.h +++ b/desktop_version/src/UtilityClass.h @@ -13,6 +13,8 @@ std::vector split(const std::string &s, char delim); bool is_positive_num(const std::string& str); +#define INBOUNDS(index, vector) ((int) index >= 0 && (int) index < (int) vector.size()) + //helperClass class UtilityClass