Skip to content

Commit

Permalink
Use different typename to make clangd linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerkaraszewski committed Jul 4, 2024
1 parent 92aaa14 commit 254924f
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 254924f

Please sign in to comment.