mirror of
https://github.com/boostorg/python.git
synced 2026-01-24 18:12:43 +00:00
gen_extclass.py: "T" replaced by "Held" to reduce chances of name clashes.
[SVN r9384]
This commit is contained in:
@@ -61,7 +61,7 @@ T* check_non_null(T* p)
|
||||
return p;
|
||||
}
|
||||
|
||||
template <class T> class held_instance;
|
||||
template <class Held> class held_instance;
|
||||
|
||||
typedef void* (*conversion_function_ptr)(void*);
|
||||
|
||||
@@ -617,7 +617,7 @@ template <class Held>
|
||||
class held_instance : public Held
|
||||
{
|
||||
// There are no member functions: we want to avoid inadvertently overriding
|
||||
// any virtual functions in T.
|
||||
// any virtual functions in Held.
|
||||
public:
|
||||
held_instance(PyObject*) : Held() {}
|
||||
template <class A1>
|
||||
|
||||
Reference in New Issue
Block a user