diff options
| author | Stefan Boberg <[email protected]> | 2021-09-16 22:49:27 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-09-16 22:49:27 +0200 |
| commit | 6aaca5fd10918d8a560e1a030a8a72d96dd6cab8 (patch) | |
| tree | b4a6436383cce6c03777b712eef142f95dab1e4b /zencore/include | |
| parent | Merge branch 'main' of https://github.com/EpicGames/zen (diff) | |
| download | zen-6aaca5fd10918d8a560e1a030a8a72d96dd6cab8.tar.xz zen-6aaca5fd10918d8a560e1a030a8a72d96dd6cab8.zip | |
Added Oid::FromMemory()
Diffstat (limited to 'zencore/include')
| -rw-r--r-- | zencore/include/zencore/uid.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zencore/include/zencore/uid.h b/zencore/include/zencore/uid.h index 2730b1415..f095c49ef 100644 --- a/zencore/include/zencore/uid.h +++ b/zencore/include/zencore/uid.h @@ -60,6 +60,7 @@ struct Oid const Oid& Generate(); [[nodiscard]] static Oid FromHexString(const std::string_view String); StringBuilderBase& ToString(StringBuilderBase& OutString) const; + [[nodiscard]] static Oid FromMemory(const void* Ptr); auto operator<=>(const Oid& rhs) const = default; [[nodiscard]] inline operator bool() const { return *this == Zero; } |