diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-01-06 08:28:18 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-01-10 13:09:45 +0000 |
| commit | 93f29880839dc5589bb35f63260a7152ead7655f (patch) | |
| tree | 865dd65298dd11d949efed2ac3f58f3564c7cc8f /src/key.cc | |
| parent | d7965cce4c5f95da7971bce6f800739a4cd2f17d (diff) | |
Introduce dc::Package, changing lots of namespaces in the process.
Diffstat (limited to 'src/key.cc')
| -rw-r--r-- | src/key.cc | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -33,7 +33,7 @@ using std::string; using std::stringstream; using std::setw; using std::setfill; -using namespace dcp::dc; +using namespace dcp; Key::Key () : _value (new uint8_t[ASDCP::KeyLen]) @@ -90,14 +90,13 @@ Key::hex () const } bool -dcp::dc::operator== (Key const & a, Key const & b) +dcp::operator== (Key const & a, Key const & b) { return memcmp (a.value(), b.value(), ASDCP::KeyLen) == 0; } bool -dcp::dc::operator!= (Key const & a, Key const & b) +dcp::operator!= (Key const & a, Key const & b) { return !(a == b); } - |
