diff options
Diffstat (limited to 'splash/SplashXPathScanner.cc')
-rw-r--r-- | splash/SplashXPathScanner.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/splash/SplashXPathScanner.cc b/splash/SplashXPathScanner.cc index e8abe94c..042a6ef6 100644 --- a/splash/SplashXPathScanner.cc +++ b/splash/SplashXPathScanner.cc @@ -344,9 +344,11 @@ bool SplashXPathScanner::addIntersection(double segYMin, double segYMax, } auto& line = allIntersections[y - yMin]; +#ifndef USE_BOOST_HEADERS if (line.empty()) { line.reserve(4); } +#endif line.push_back(intersect); return true; |