OSDN Git Service

ralloc: Remove the rzalloc-based new/delete operator definition macro.
authorFrancisco Jerez <currojerez@riseup.net>
Wed, 2 Oct 2013 00:00:32 +0000 (17:00 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 2 Oct 2013 00:39:45 +0000 (17:39 -0700)
commitef8cc3e51f7c9c6134a76e299908c74e02800ae3
tree9756acb70c0f681a916f97d3aa1024df9e5c8ee4
parentfcbbecb9bc5c2b46913d5d3ec809be396addb1e8
ralloc: Remove the rzalloc-based new/delete operator definition macro.

Using it encourages the (IMHO worrying) practice of leaving member
variables uninitialized in constructor definitions.  This macro
shouldn't be necessary anymore after the last patch series fixing all
its users to initialize all member variables from the class
constructor.  Remove it.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/ralloc.h