* Change long to TLong.

This allows a potential linux port to become reality much easier.
This commit is contained in:
iProgramInCpp
2023-07-31 21:08:31 +03:00
parent 47f9b45ac4
commit 5884302836
24 changed files with 82 additions and 48 deletions

View File

@@ -8,8 +8,11 @@
#pragma once
#include <cstring>
#include <algorithm>
#include <string>
#include <vector>
#include "LongHack.hpp"
class Util
{
@@ -56,9 +59,9 @@ public:
}
}
static long hashCode(const std::string& str)
static TLong hashCode(const std::string& str)
{
long result = 0;
TLong result = 0;
for (auto chr : str)
{