mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
Fix compilation under pre-c++14 gccs.
llvm-svn: 332346
This commit is contained in:
parent
d1aa19fac3
commit
6c83d875a3
@ -157,7 +157,7 @@ InstructionBenchmarkClustering::create(
|
||||
const double Epsilon) {
|
||||
InstructionBenchmarkClustering Clustering(Points);
|
||||
if (auto Error = Clustering.validateAndSetup()) {
|
||||
return Error;
|
||||
return std::move(Error);
|
||||
}
|
||||
if (Clustering.ErrorCluster_.PointIndices.size() == Points.size()) {
|
||||
return Clustering; // Nothing to cluster.
|
||||
|
Loading…
Reference in New Issue
Block a user