auto **ex = exclude_compiled;
auto skip = false;
while (ex != nullptr && *ex != nullptr) {
+#if GLIB_MAJOR_VERSION >= 2 && GLIB_MINOR_VERSION >= 70
if (g_pattern_spec_match(*ex, fpath.size(), fpath.c_str(), nullptr)) {
+#else
+ if (g_pattern_match(*ex, fpath.size(), fpath.c_str(), nullptr)) {
+#endif
skip = true;
break;
}
using size_type = typename std::allocator<T>::size_type;
template<class U> struct rebind { typedef secure_mem_allocator<U> other; };
secure_mem_allocator() noexcept = default;
- secure_mem_allocator(const secure_mem_allocator &) noexcept {}
+ secure_mem_allocator(const secure_mem_allocator &_) noexcept : std::allocator<T>(_) {}
template <class U> explicit secure_mem_allocator(const secure_mem_allocator<U>&) noexcept {}
void deallocate(pointer p, size_type num) noexcept {