aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/polymorphism.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-01-11 09:39:52 -0800
committerChris Robinson <[email protected]>2018-01-11 09:39:52 -0800
commit2d2ca1d79110e0100e7a1f3b1c37efc527e37a3b (patch)
tree091f7b2f5f613333b584ee5bde121671e40b78d5 /Alc/polymorphism.h
parent85a8f965e56dadf6928ca66503391029d7965928 (diff)
Remove SET_VTABLE1
Diffstat (limited to 'Alc/polymorphism.h')
-rw-r--r--Alc/polymorphism.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/Alc/polymorphism.h b/Alc/polymorphism.h
index b41ad64b..fa31fad2 100644
--- a/Alc/polymorphism.h
+++ b/Alc/polymorphism.h
@@ -102,7 +102,4 @@ static void T##_Delete(void *ptr) { al_free(ptr); }
/* Helper to set an object's vtable thunk for a child type. Used when constructing an object. */
#define SET_VTABLE2(T1, T2, obj) (STATIC_CAST(T2, obj)->vtbl = GET_VTABLE2(T1, T2))
-/* Helper to set an object's vtable for a type. */
-#define SET_VTABLE1(T1, obj) ((obj)->vtbl = &(T1##_vtable))
-
#endif /* POLYMORPHISM_H */