Remove public static vars from generated code

Description

Remove public static vars from generated code. That causes link error sometimes:

The code

can be replaced by

or

Environment

Win8.1 x64 vs2013

Assignee

Sergey Sedreev

Reporter

Sergey Sedreev

Labels

None

Branch

None

Products

None

Fix versions

Affects versions

Priority

Major
Configure