forstio/source/forstio/io_auth.cpp

9 lines
280 B
C++

#include "io_auth.h"
namespace saw {
peer::peer(const std::string &identity_) : identity_value_{identity_} {}
peer::peer(std::string &&identity_) : identity_value_{std::move(identity_)} {}
const std::string &peer::identity() const { return identity_value_; }
} // namespace saw