aboutsummaryrefslogtreecommitdiffhomepage
path: root/tdutils/td/utils/MapNode.h
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2022-07-23 14:53:32 +0300
committerlevlam <levlam@telegram.org>2022-07-23 14:53:32 +0300
commitd55869eedb90886cb5a5f77257524ffb9bce79f4 (patch)
tree54a36f90c64e09770a906778a570fa8f7bb46475 /tdutils/td/utils/MapNode.h
parent206becbb9fd308b3a86fbe0e1570f468cd495136 (diff)
Minor improvements.
Diffstat (limited to 'tdutils/td/utils/MapNode.h')
-rw-r--r--tdutils/td/utils/MapNode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdutils/td/utils/MapNode.h b/tdutils/td/utils/MapNode.h
index 25cc84448..cad2ae9b3 100644
--- a/tdutils/td/utils/MapNode.h
+++ b/tdutils/td/utils/MapNode.h
@@ -54,7 +54,7 @@ struct MapNode {
DCHECK(empty());
DCHECK(!other.empty());
first = std::move(other.first);
- other.first = KeyT{};
+ other.first = KeyT();
new (&second) ValueT(std::move(other.second));
other.second.~ValueT();
}