Remove get helper function from DataDistribution.actor.cpp
This commit is contained in:
parent
f16aa56d4c
commit
975b9f3b32
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue