Fix tabs and trailing whitespace.

This commit is contained in:
Tom Ritchford
2014-10-14 16:58:47 -04:00
parent 7eaca149c1
commit 5425a90f16
86 changed files with 200 additions and 200 deletions

View File

@@ -36,7 +36,7 @@ public:
~SourceFileImp ()
{
}
std::string to_string () const
{
std::stringstream ss;
@@ -54,7 +54,7 @@ public:
{
return m_file.getFullPathName ().toStdString();
}
void fetch (Results& results, beast::Journal journal)
{
std::int64_t const fileSize (m_file.getSize ());

View File

@@ -36,7 +36,7 @@ public:
information filled in from the Store.
*/
virtual void insert (SourceDesc& desc) = 0;
/** Update the SourceDesc fixed fields. */
virtual void update (SourceDesc& desc, bool updateFetchResults = false) = 0;

View File

@@ -284,7 +284,7 @@ bool StoreSqdb::select (SourceDesc& desc)
{
m_journal.debug <<
"Found record for " << *desc.source;
found = true;
desc.lastFetchTime = stringToTime (lastFetchTime);
desc.expirationTime = stringToTime (expirationTime);
@@ -311,7 +311,7 @@ bool StoreSqdb::select (SourceDesc& desc)
void StoreSqdb::selectList (SourceDesc& desc)
{
beast::Error error;
std::string const sourceID (desc.source->uniqueID());
// Get the count