Skip to content

Commit

Permalink
Merge pull request #1796 from Expensify/tyler-typename
Browse files Browse the repository at this point in the history
Use different typename to make clangd linter happy
  • Loading branch information
youssef-lr authored Jul 5, 2024
2 parents e455458 + 89de92f commit aae6dc3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libstuff/SRandom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ uint64_t SRandom::rand64() {
return _distribution64(_generator);
}

string SRandom::randStr(uint length) {
string SRandom::randStr(unsigned length) {
string str = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
string newstr;
int pos;
Expand Down
2 changes: 1 addition & 1 deletion libstuff/SRandom.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class SRandom {
public:
static uint64_t rand64();
static uint64_t limitedRand64(uint64_t min, uint64_t max);
static string randStr(uint length);
static string randStr(unsigned length);

private:
static mt19937_64 _generator;
Expand Down

0 comments on commit aae6dc3

Please sign in to comment.