diff options
author | Jack Lloyd <[email protected]> | 2018-11-04 02:33:11 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-11-04 04:19:02 -0500 |
commit | 14c11db86248edb1479087d0133029f87a2d7502 (patch) | |
tree | a42309080943b1e0fe297fa1722564d11b056e0e /src/tests/tests.h | |
parent | e07a6819d537e2a2a398a35420596b0f15c7de42 (diff) |
Add VarMap::get_opt_u64
Diffstat (limited to 'src/tests/tests.h')
-rw-r--r-- | src/tests/tests.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/tests.h b/src/tests/tests.h index ad666ff4c..7a0e4e54e 100644 --- a/src/tests/tests.h +++ b/src/tests/tests.h @@ -543,6 +543,8 @@ class VarMap size_t get_req_sz(const std::string& key) const; size_t get_opt_sz(const std::string& key, const size_t def_value) const; + uint64_t get_opt_u64(const std::string& key, const uint64_t def_value) const; + private: std::unordered_map<std::string, std::string> m_vars; }; |