mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 05:52:59 +00:00 
			
		
		
		
	Fix more instances of Clang's -Wunqualified-std-cast-call
This commit is contained in:
		| @@ -148,7 +148,7 @@ void bitruncate() { | ||||
|           cells[id].neid[(k+5)%6] = bitruncated_id[make_pair(i, next)]; | ||||
|           } | ||||
|       } | ||||
|     cells[i].neid = move(newnei); | ||||
|     cells[i].neid = std::move(newnei); | ||||
|     } | ||||
|   make_cells_of_heptagon(); | ||||
|   compute_jpoints(); | ||||
| @@ -241,7 +241,7 @@ bool step(int delta) { | ||||
|             ld val = hdist(h, relmatrices[p.owner] * p.p); | ||||
|             if(val < mindist) mindist = val; | ||||
|             } | ||||
|           if(mindist > bestval) bestval = mindist, s.owner = c, s.p = h, s.relmatrices = move(relmatrices); | ||||
|           if(mindist > bestval) bestval = mindist, s.owner = c, s.p = h, s.relmatrices = std::move(relmatrices); | ||||
|           } | ||||
|         } | ||||
|       make_cells_of_heptagon(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Arthur O'Dwyer
					Arthur O'Dwyer