From 5384f185ae761a0efd46090a5824178f5dcd74bc Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Thu, 1 Oct 2015 18:12:16 -0700 Subject: Simplify Dictionary and reduce memory usage, now no more std::maps in core. --- node/Topology.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'node/Topology.cpp') diff --git a/node/Topology.cpp b/node/Topology.cpp index 65abfc6f..908acbc8 100644 --- a/node/Topology.cpp +++ b/node/Topology.cpp @@ -140,7 +140,7 @@ void Topology::setRootServers(const Dictionary &sn) if ((d->first.length() == ZT_ADDRESS_LENGTH_HEX)&&(d->second.length() > 0)) { try { Dictionary snspec(d->second); - std::vector &a = m[Identity(snspec.get("id"))]; + std::vector &a = m[Identity(snspec.get("id",""))]; std::string udp(snspec.get("udp",std::string())); if (udp.length() > 0) a.push_back(InetAddress(udp)); -- cgit v1.2.3