]> sigrok.org Git - pulseview.git/commit
Segment: Move definition of MaxChunkSize
authorSoeren Apel <redacted>
Sat, 18 Feb 2017 07:21:00 +0000 (08:21 +0100)
committerUwe Hermann <redacted>
Sat, 18 Feb 2017 21:59:58 +0000 (22:59 +0100)
commitdd3f9a41a6b4debf5ad7aa8226bebd13504f2295
tree9d6b9dcea6b9f8457bf6e3dcd62712be4be0b8dc
parent0ebddfac4ea08ec5adda0cba9bbf3522e26a354e
Segment: Move definition of MaxChunkSize

This fixes a compile error with clang:

pv/data/segment.cpp.o: In function `unsigned long const& std::min<unsigned long>(unsigned long const&, unsigned long const&)':
/usr/bin/../lib/gcc/x86_64-linux-gnu/6.3.0/../../../../include/c++/6.3.0/bits/stl_algobase.h:200: undefined reference to `pv::data::Segment::MaxChunkSize'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
pv/data/segment.cpp
pv/data/segment.hpp