mirror of https://gitee.com/bigwinds/arangodb
added ctor for AuthResult to prevent UB
This commit is contained in:
parent
ca1ee70585
commit
d87aa2b420
|
@ -84,6 +84,7 @@ class AuthEntry {
|
||||||
|
|
||||||
class AuthResult {
|
class AuthResult {
|
||||||
public:
|
public:
|
||||||
|
AuthResult() : _authorized(false), _mustChange(false) {}
|
||||||
std::string _username;
|
std::string _username;
|
||||||
bool _authorized;
|
bool _authorized;
|
||||||
bool _mustChange;
|
bool _mustChange;
|
||||||
|
|
Loading…
Reference in New Issue