summaryrefslogtreecommitdiff
path: root/src/key.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-01-06 08:28:18 +0000
committerCarl Hetherington <cth@carlh.net>2016-01-10 13:09:45 +0000
commit93f29880839dc5589bb35f63260a7152ead7655f (patch)
tree865dd65298dd11d949efed2ac3f58f3564c7cc8f /src/key.cc
parentd7965cce4c5f95da7971bce6f800739a4cd2f17d (diff)
Introduce dc::Package, changing lots of namespaces in the process.
Diffstat (limited to 'src/key.cc')
-rw-r--r--src/key.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/key.cc b/src/key.cc
index 25f1b4b2..8fec6cd8 100644
--- a/src/key.cc
+++ b/src/key.cc
@@ -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);
}
-