minor cleanup

This commit is contained in:
Benjamin Sergeant
2019-03-21 13:50:59 -07:00
parent 5c4cc7c50d
commit 94604fad61
3 changed files with 6 additions and 6 deletions

View File

@ -6,8 +6,6 @@
#include "IXConnectionState.h"
#include <sstream>
namespace ix
{
std::atomic<uint64_t> ConnectionState::_globalId(0);
@ -19,9 +17,7 @@ namespace ix
void ConnectionState::computeId()
{
std::stringstream ss;
ss << _globalId++;
_id = ss.str();
_id = std::to_string(_globalId++);
}
const std::string& ConnectionState::getId() const