rocr: Ensure globals are initialized at first use
When ROCr is built as a static library, global variables were often not initialized to valid values at their first use. This change addresses that problem. Change-Id: I550fa41feb3bc04b9cc686bcfb4acf2a7b651a88
This commit is contained in:
zatwierdzone przez
Chris Freehill
rodzic
80da7d5ee4
commit
9b13bcd0ac
@@ -44,7 +44,6 @@
|
||||
|
||||
namespace rocr {
|
||||
namespace core {
|
||||
std::function<void*(size_t, size_t, uint32_t, int)> BaseShared::allocate_ = nullptr;
|
||||
std::function<void(void*)> BaseShared::free_ = nullptr;
|
||||
|
||||
} // namespace core
|
||||
} // namespace rocr
|
||||
|
||||
Reference in New Issue
Block a user