Skip to content

Commit

Permalink
Remove unused <numeric> include
Browse files Browse the repository at this point in the history
  • Loading branch information
zeux committed Nov 28, 2024
1 parent 7a03bd2 commit f4cf392
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/build.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#include <algorithm>
#include <vector>
#include <list>
#include <numeric>
#include <string>
#include <memory>
#include <map>
Expand Down Expand Up @@ -338,7 +337,7 @@ static size_t getChunkIndexSize(size_t dataSize)
return indexSize < 1024 ? 0 : indexSize;
}

// http://pages.cs.wisc.edu/~cao/papers/summary-cache/node8.html
// http://pages.cs.wisc.edu/~cao/papers/summary-cache/node8.html
static unsigned int getIndexHashIterations(unsigned int indexSize, unsigned int itemCount)
{
unsigned int m = indexSize * 8;
Expand Down Expand Up @@ -758,7 +757,7 @@ void buildProject(Output* output, const char* path)

if (!buildFiles(output, path, files))
return;

std::string targetPath = replaceExtension(path, ".qgd");
std::string tempPath = targetPath + "_";

Expand All @@ -775,7 +774,7 @@ void buildProject(Output* output, const char* path)
}

output->print("\n");

if (!renameFile(tempPath.c_str(), targetPath.c_str()))
{
output->error("Error saving data file %s\n", targetPath.c_str());
Expand Down

0 comments on commit f4cf392

Please sign in to comment.