Make some globals static that can be
External linkage does not help and just encourages sloppy dependencies and can lead to weird issues when there are name collisions.
This commit is contained in:
@@ -16,7 +16,7 @@ using namespace std;
|
||||
|
||||
static boost::uuids::random_generator uuidgen;
|
||||
|
||||
std::map<OperationStatus, std::string> OperationStatusMap = {
|
||||
static std::map<OperationStatus, std::string> OperationStatusMap = {
|
||||
{OperationStatus::READY, "queued"},
|
||||
{OperationStatus::EXECUTING, "executing"},
|
||||
{OperationStatus::CANCELLED, "cancelled"},
|
||||
|
||||
Reference in New Issue
Block a user