Code Cleanup

- Renamed T2.h -> Task.h, T2.cpp -> Task.cpp.  This permanently avoids
  the problem where g++ on OpenBSD 4.5 fails because of the T class,
  which probably conflicts with C++ templates.  Who knows.
This commit is contained in:
Paul Beckingham
2009-06-10 21:35:07 -04:00
parent 71f4749d56
commit d7da182450
12 changed files with 83 additions and 83 deletions

View File

@@ -98,7 +98,7 @@ std::string handleProjects ()
context.filter.push_back (Att ("status", "pending"));
std::vector <T2> tasks;
std::vector <Task> tasks;
context.tdb.lock (context.config.get ("locking", true));
int quantity = context.tdb.load (tasks, context.filter);
context.tdb.unlock ();
@@ -155,7 +155,7 @@ std::string handleTags ()
context.filter.push_back (Att ("status", "pending"));
std::vector <T2> tasks;
std::vector <Task> tasks;
context.tdb.lock (context.config.get ("locking", true));
int quantity = context.tdb.load (tasks, context.filter);
context.tdb.unlock ();