Opened 6 years ago

Closed 6 years ago

#12560 closed Bugs (fixed)

heap_merge.hpp has a missing #include

Reported by: gromer@… Owned by: timblechmann
Milestone: To Be Determined Component: heap
Version: Boost 1.60.0 Severity: Problem
Keywords: Cc:

Description

heap/heap_merge.hpp uses std::max, but does not #include the <algorithm> header that defines it. Among other things, this prevents Boost.Heap from being built using C++ modules (see http://clang.llvm.org/docs/Modules.html), because modules require headers to be self-contained.

A fix is attached (relative to 1.60.0).

Attachments (1)

boost-heap.patch (460 bytes ) - added by gromer@… 6 years ago.

Download all attachments as: .zip

Change History (2)

by gromer@…, 6 years ago

Attachment: boost-heap.patch added

comment:1 by timblechmann, 6 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.