From: Guus Sliepen Date: Sat, 24 Jan 2009 20:13:47 +0000 (+0100) Subject: find_certificates() returns a vector of const pointers. X-Git-Url: https://tinc-vpn.org/git/browse?a=commitdiff_plain;h=c30548270cbb65865f0336dd7911e196b0949717;p=fides find_certificates() returns a vector of const pointers. --- diff --git a/src/fides.cc b/src/fides.cc index e4785a6..e84e922 100644 --- a/src/fides.cc +++ b/src/fides.cc @@ -223,7 +223,7 @@ static int find(int argc, char *const argv[]) { // Find certificates matching statement fides fides; - const vector &certs = fides.find_certificates(argv[0]); + const vector &certs = fides.find_certificates(argv[0]); for(size_t i = 0; i < certs.size(); ++i) cout << i << ' ' << certs[i]->to_string() << '\n'; return 0;