diff options
| author | 2022-12-20 10:50:31 +0000 | |
|---|---|---|
| committer | 2022-12-20 10:50:31 +0000 | |
| commit | abc1e463a78f76dd2d08bc8278b504aac9e1fde2 (patch) | |
| tree | 0e8e58e93ef7d5cff59bb04fceb8d4ea1809390b /src/extensible.cpp | |
| parent | Move extension types to their own header to speed up build times. (diff) | |
Move {From,To}Network from StringExtItem to SimpleExtItem.
Diffstat (limited to 'src/extensible.cpp')
| -rw-r--r-- | src/extensible.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/extensible.cpp b/src/extensible.cpp index 1663cdd5f..7230fb174 100644 --- a/src/extensible.cpp +++ b/src/extensible.cpp @@ -310,18 +310,9 @@ void StringExtItem::FromInternal(Extensible* container, const std::string& value Set(container, value, false); } -void StringExtItem::FromNetwork(Extensible* container, const std::string& value) noexcept -{ - if (synced) - FromInternal(container, value); -} std::string StringExtItem::ToInternal(const Extensible* container, void* item) const noexcept { return item ? *static_cast<std::string*>(item) : std::string(); } -std::string StringExtItem::ToNetwork(const Extensible* container, void* item) const noexcept -{ - return synced ? ToInternal(container, item) : std::string(); -} |
