freebsd-ports/devel/xparam/files/patch-lib__xparam__xp_hvl.h
Martin Wilke 1f1a5f1e12 - Fix build with clang
- Add LICENSE
- Add MAKE_JOBS_SAFE

PR:		179227
Submitted by:	Ports Fury
2013-06-04 10:06:04 +00:00

14 lines
366 B
C

--- lib/xparam/xp_hvl.h.orig
+++ lib/xparam/xp_hvl.h
@@ -51,9 +51,9 @@
// t_ptr may be 0
void append_copy(const T* t_ptr) {
if (t_ptr)
- push_back( Handle<T>(get_copy_of(*t_ptr)) );
+ this->push_back( Handle<T>(get_copy_of(*t_ptr)) );
else
- push_back( Handle<T>() );
+ this->push_back( Handle<T>() );
}
// t_ptr may be 0