OSDN Git Service

Fixed clang build error for libgui
authorTareq A. Siraj <tareq.a.siraj@intel.com>
Thu, 26 Jul 2012 20:04:24 +0000 (16:04 -0400)
committerEdwin Vane <edwin.vane@intel.com>
Thu, 23 Aug 2012 18:08:57 +0000 (14:08 -0400)
commit114e968482a02b9153d9a236376efb5cd43f4a9a
tree55f04990bbd899aac0aa8ef856d5396c151f71e6
parent349149b52a424c212e33d165bc146bc0337ea4c4
Fixed clang build error for libgui

Fixed the order of the statements in ANDROID_SINGLETON_STATIC_INSTANCE
macro so that the templated static member variable initialization
comes before the instantiation of the Singleton class. This
fixes the clang compile error.

Change-Id: Ic47d17e152b657f2dff3191ccc3770753fdf002b
Author: Tareq A. Siraj <tareq.a.siraj@intel.com>
Reviewed-by: Edwin Vane <edwin.vane@intel.com>
include/utils/Singleton.h