Remove get helper function from DataDistribution.actor.cpp

This commit is contained in:
sfc-gh-tclinkenbeard 2022-02-10 11:32:33 -08:00
parent f16aa56d4c
commit 975b9f3b32
1 changed files with 0 additions and 12 deletions

View File

@ -47,18 +47,6 @@
#include "flow/actorcompiler.h" // This must be the last #include.
#include "flow/serialize.h"
namespace {
// Helper function for STL containers, with flow-friendly error handling
template <class MapContainer, class K>
auto get(MapContainer& m, K const& k) -> decltype(m.at(k)) {
auto it = m.find(k);
ASSERT(it != m.end());
return it->second;
}
} // namespace
// Read keyservers, return unique set of teams
ACTOR Future<Reference<InitialDataDistribution>> getInitialDataDistribution(Database cx,
UID distributorId,