GBE: Fix one build error of friend declaration for a class.
authorChuanbo Weng <chuanbo.weng@intel.com>
Tue, 6 May 2014 10:48:26 +0000 (18:48 +0800)
committerZhigang Gong <zhigang.gong@intel.com>
Tue, 6 May 2014 04:49:21 +0000 (12:49 +0800)
commit42136987b9925396ad138cc2493bed8ab11cbe35
tree2c5465fdf37e3ae4eab94f9ac7163019bf7bd04c
parent817d8de657f2e9f89fb85fcb587d0173f6557916
GBE: Fix one build error of friend declaration for a class.

If the g++ is older than 4.7.0, the class-key of the
elaborated-type-specifier is required in a friend declaration
for a class. So modify the code to make it compitible with old
g++ version.

Signed-off-by: Chuanbo Weng <chuanbo.weng@intel.com>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
backend/src/backend/gen_context.hpp