diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-01-05 16:55:32 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-01-05 16:55:32 +0000 |
| commit | ca5f02dbf193fa5655c57cb25be96a3c9fd05157 (patch) | |
| tree | d5be6180bca64a0f4f8af9aaef2030080787fc24 /src/certificate.cc | |
| parent | e3b5521ac40125c3dfd9f254856cf58ea1584f79 (diff) | |
Put everything into dcp::dc and change DCP -> Package.
Diffstat (limited to 'src/certificate.cc')
| -rw-r--r-- | src/certificate.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/certificate.cc b/src/certificate.cc index 36aef7f9..eda80513 100644 --- a/src/certificate.cc +++ b/src/certificate.cc @@ -41,7 +41,7 @@ using std::string; using std::ostream; using std::min; using std::stringstream; -using namespace dcp; +using namespace dcp::dc; static string const begin_certificate = "-----BEGIN CERTIFICATE-----"; static string const end_certificate = "-----END CERTIFICATE-----"; @@ -352,19 +352,19 @@ Certificate::public_key () const } bool -dcp::operator== (Certificate const & a, Certificate const & b) +dcp::dc::operator== (Certificate const & a, Certificate const & b) { return a.certificate() == b.certificate(); } bool -dcp::operator< (Certificate const & a, Certificate const & b) +dcp::dc::operator< (Certificate const & a, Certificate const & b) { return a.certificate() < b.certificate(); } ostream& -dcp::operator<< (ostream& s, Certificate const & c) +dcp::dc::operator<< (ostream& s, Certificate const & c) { s << c.certificate(); return s; |
