summaryrefslogtreecommitdiff
path: root/src/Coxeter_triangulation/example/cell_complex_from_basic_circle_manifold.cpp
diff options
context:
space:
mode:
authorROUVREAU Vincent <vincent.rouvreau@inria.fr>2021-06-07 17:45:34 +0200
committerROUVREAU Vincent <vincent.rouvreau@inria.fr>2021-06-07 17:45:34 +0200
commit0828b90ffabf239dc9811f299427349d6d4f8bf4 (patch)
tree6135364b811501141b911f042e517892750c5eeb /src/Coxeter_triangulation/example/cell_complex_from_basic_circle_manifold.cpp
parent44b7b7ceca93ee6f5ce5ec2831f107e4196a0350 (diff)
code review: The whole point of emplace/emplace_back is to remove std::make_pair or constructor call
Diffstat (limited to 'src/Coxeter_triangulation/example/cell_complex_from_basic_circle_manifold.cpp')
-rw-r--r--src/Coxeter_triangulation/example/cell_complex_from_basic_circle_manifold.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Coxeter_triangulation/example/cell_complex_from_basic_circle_manifold.cpp b/src/Coxeter_triangulation/example/cell_complex_from_basic_circle_manifold.cpp
index 0d32f916..fc2afce4 100644
--- a/src/Coxeter_triangulation/example/cell_complex_from_basic_circle_manifold.cpp
+++ b/src/Coxeter_triangulation/example/cell_complex_from_basic_circle_manifold.cpp
@@ -42,7 +42,7 @@ int main(int argc, char** argv) {
std::clog << "Vertices:" << std::endl;
for (const auto& cp_pair : cell_complex.cell_point_map()) {
std::clog << index << " : (" << cp_pair.second(0) << ", " << cp_pair.second(1) << ")" << std::endl;
- vi_map.emplace(std::make_pair(cp_pair.first, index++));
+ vi_map.emplace(cp_pair.first, index++);
}
std::clog << "Edges:" << std::endl;