projects
/
fides
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0deb87
)
find_certificates() returns a vector of const pointers.
author
Guus Sliepen
<guus@sliepen.eu.org>
Sat, 24 Jan 2009 20:13:47 +0000
(21:13 +0100)
committer
Guus Sliepen
<guus@sliepen.eu.org>
Sat, 24 Jan 2009 20:13:47 +0000
(21:13 +0100)
src/fides.cc
patch
|
blob
|
history
diff --git
a/src/fides.cc
b/src/fides.cc
index
e4785a6
..
e84e922
100644
(file)
--- 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<fides::certificate *> &certs = fides.find_certificates(argv[0]);
+ const vector<
const
fides::certificate *> &certs = fides.find_certificates(argv[0]);
for(size_t i = 0; i < certs.size(); ++i)
cout << i << ' ' << certs[i]->to_string() << '\n';
return 0;