Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fixed bug in type info: don't treat pointer-to-member as pointer

  • Loading branch information...
commit 41f0fe4c039c6453d95469da6616f83357a5249e 1 parent 90db773
Alexander authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  src/typeinfo.h
2  src/typeinfo.h
@@ -284,7 +284,6 @@ namespace ABI_NAMESPACE
284 284 /** Pointer is a pointer to a member of an incomplete class. */
285 285 __incomplete_class_mask = 0x10
286 286 };
287   - virtual bool __is_pointer_p() const { return true; }
288 287 virtual bool __do_catch(const type_info *thrown_type,
289 288 void **thrown_object,
290 289 unsigned outer) const;
@@ -296,6 +295,7 @@ namespace ABI_NAMESPACE
296 295 struct __pointer_type_info : public __pbase_type_info
297 296 {
298 297 virtual ~__pointer_type_info();
  298 + virtual bool __is_pointer_p() const { return true; }
299 299 };
300 300
301 301 /**

0 comments on commit 41f0fe4

Please sign in to comment.
Something went wrong with that request. Please try again.