Bugfix: LLVM compiler warnings

This commit is contained in:
Jakub Melka
2021-03-06 18:13:21 +01:00
parent 83e67979e7
commit 848e1aee3c
39 changed files with 201 additions and 175 deletions

View File

@ -29,6 +29,7 @@
#include <vector>
#include <iterator>
#include <functional>
#include <type_traits>
namespace pdf
{
@ -518,10 +519,10 @@ class PDFBuffer
public:
using value_type = T;
using value_ptr = value_type*;
using const_value_type = const value_type;
using const_value_type = typename std::add_const<value_type>::type;
using const_value_ptr = const_value_type*;
using value_ref = value_type&;
using const_value_ref = const value_ref;
using const_value_ref = typename std::add_const<value_ref>::type;
explicit inline PDFBuffer() :
m_begin(nullptr),