Skip to content

Commit 445b965

Browse files
committed
Remove unnecessary empty ctor deletion in bvh_node
1 parent ed326b8 commit 445b965

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
lines changed

books/RayTracingTheNextWeek.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,6 @@
692692
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
693693
class bvh_node : public hittable {
694694
public:
695-
bvh_node() = delete; // Disallow uninitialized BVH nodes
696695
bvh_node(hittable_list& list, double time0, double time1)
697696
: bvh_node(list.objects, 0, 0, time0, time1)
698697
{}

src/TheNextWeek/bvh.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818

1919
class bvh_node : public hittable {
2020
public:
21-
bvh_node() = delete;
22-
2321
bvh_node::bvh_node(hittable_list& list, double time0, double time1)
2422
: bvh_node(list.objects, 0, list.objects.size(), time0, time1)
2523
{}

src/TheRestOfYourLife/bvh.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818

1919
class bvh_node : public hittable {
2020
public:
21-
bvh_node() = delete;
22-
2321
bvh_node::bvh_node(hittable_list &list, double time0, double time1)
2422
: bvh_node(list.objects, 0, 0, time0, time1)
2523
{}

0 commit comments

Comments
 (0)