summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Burrows <dburrows@debian.org>2011-03-30 09:02:45 -0700
committerDaniel Burrows <dburrows@debian.org>2011-03-30 09:02:45 -0700
commit3aef7ef725cb716bc6f93027d07d5e0fd4a9cd49 (patch)
tree0717969ac1e593c1d20a8c759e16a70e3080c605
parent4a021fb5d4963d4e0756fcc182223b05939062d6 (diff)
downloadaptitude-3aef7ef725cb716bc6f93027d07d5e0fd4a9cd49.tar.gz
Fix a C++ error (accidentally returned false instead of NULL).
-rw-r--r--src/generic/apt/matching/match.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/generic/apt/matching/match.cc b/src/generic/apt/matching/match.cc
index d5d0c482..691cf84a 100644
--- a/src/generic/apt/matching/match.cc
+++ b/src/generic/apt/matching/match.cc
@@ -1,6 +1,6 @@
// match.cc
//
-// Copyright (C) 2008-2010 Daniel Burrows
+// Copyright (C) 2008-2011 Daniel Burrows
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License as
@@ -1443,7 +1443,7 @@ namespace aptitude
#endif
if(tags == NULL)
- return false;
+ return NULL;
for(std::set<tag>::const_iterator i=tags->begin(); i!=tags->end(); ++i)
{