]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools/VfrCompile/Pccts: Make assignment operator not returning void
authorHao Wu <hao.a.wu@intel.com>
Mon, 10 Oct 2016 12:53:22 +0000 (20:53 +0800)
committerHao Wu <hao.a.wu@intel.com>
Tue, 8 Nov 2016 08:38:30 +0000 (16:38 +0800)
commitfef15ecd20dd8db5bf0c33b00908fc59491dba8a
treea69805dc7c92e2ee2e1fa4d2f6a46fce7491bc76
parentd55638362727fd03d0ad97f9fe937984f9456e1b
BaseTools/VfrCompile/Pccts: Make assignment operator not returning void

The assignment operators for class ANTLRTokenPtr return void in current
code.

This commit makes them return the reference to the object just like
primitive types do.

Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Dandan Bi <dandan.bi@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/Source/C/VfrCompile/Pccts/h/ATokPtr.h
BaseTools/Source/C/VfrCompile/Pccts/h/ATokPtrImpl.h