PolicyKeyFeature: avoid complex global constants 53/41353/4
authorPatrick Ohly <patrick.ohly@intel.com>
Fri, 29 May 2015 10:41:34 +0000 (12:41 +0200)
committerRadoslaw Bartosiak <r.bartosiak@samsung.com>
Tue, 30 Jun 2015 09:22:39 +0000 (11:22 +0200)
commitbbbadebce56b7b891065e05077a225d61ae6fa1a
tree45719c8ed190d7d86af28e4b38b573b42c9305d3
parentd8cb89231b3882c352d40b97a8bf7e3088b13e4f
PolicyKeyFeature: avoid complex global constants

PolicyKeyFeature is used by other global instances in cynara-test
and cannot assume that the initialization of its own static constants
happens first, unless it enforces initialization by embedding
these constants in method calls.

Upstream-status: Submitted [https://github.com/Samsung/cynara/issues/9]
Change-Id: Ifa6dcd44ce059cf3ec8c99764bd6ea0c677cdd6d
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Radoslaw Bartosiak <r.bartosiak@samsung.com>
src/common/types/PolicyKey.cpp
src/common/types/PolicyKey.h