mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Enhancement - Location object
- Moved Location object into place, ready for integration.
This commit is contained in:
parent
2dc566a726
commit
de08c1d32e
5 changed files with 11 additions and 10 deletions
|
@ -60,16 +60,17 @@ Record::~Record ()
|
|||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// The format is:
|
||||
//
|
||||
// [ Att::composeF4 ... ] \n
|
||||
//
|
||||
std::string Record::composeF4 ()
|
||||
{
|
||||
std::string ff4 = "[";
|
||||
|
||||
bool first = true;
|
||||
foreach (r, (*this))
|
||||
{
|
||||
ff4 += (first ? "" : " ");
|
||||
ff4 += r->second.composeF4 ();
|
||||
}
|
||||
ff4 += (first ? "" : " ") + r->second.composeF4 ();
|
||||
|
||||
ff4 += "]";
|
||||
return ff4;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue