Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
openbmc
/
telemetry
/
3a62ee15d4edd8498adbfaf3abd23796a7655ee7
/
.
/
tests
/
src
/
utils
/
generate_unique_mock_id.cpp
blob: f3e3f016de2f3a066e264a9b94178fdc07125da6 [
file
] [
log
] [
blame
]
Krzysztof Grobelny
7f06f61
2020-09-24 13:42:10 +0200
[
diff
] [
blame
]
1
#include
"generate_unique_mock_id.hpp"
2
3
uint64_t
generateUniqueMockId
()
4
{
5
static
uint64_t
id
=
0u
;
6
return
id
++;
7
}