Misuse of K_GLOBAL_STATIC?

Jarosław Staniek js at iidea.pl
Wed May 14 12:21:47 BST 2008


Hi, shouldn't we move K_GLOBAL_STATIC out of the bodies in such cases?


KIMProxy * KIMProxy::instance()
{
	K_GLOBAL_STATIC(KIMProxy, s_instance)
	return s_instance;
}

-- 
regards / pozdrawiam, Jaroslaw Staniek
  Sponsored by OpenOffice Polska (http://www.openoffice.com.pl/en) to work on
  Kexi & KOffice (http://www.kexi.pl/en, http://www.koffice.org/kexi)
  KDE Libraries for MS Windows (http://windows.kde.org)




More information about the kde-core-devel mailing list