You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
MCOL-4839: Fix clang build (#2100)
* Fix clang build * Extern C returned to plugin_instance Co-authored-by: Leonid Fedorov <l.fedorov@mail.corp.ru>
This commit is contained in:
@ -31,6 +31,7 @@
|
||||
#include <list>
|
||||
#include <stdint.h>
|
||||
#include <limits>
|
||||
#include <memory>
|
||||
|
||||
#undef min
|
||||
#undef max
|
||||
@ -102,7 +103,7 @@ public:
|
||||
};
|
||||
|
||||
SimpleAllocator() throw() {}
|
||||
SimpleAllocator(boost::shared_ptr<SimplePool> pool) throw()
|
||||
SimpleAllocator(std::shared_ptr<SimplePool> pool) throw()
|
||||
{
|
||||
fPool = pool;
|
||||
}
|
||||
@ -158,10 +159,10 @@ public:
|
||||
|
||||
inline void setPool(SimplePool* pool)
|
||||
{
|
||||
fPool = pool;
|
||||
fPool.reset(pool);
|
||||
}
|
||||
|
||||
boost::shared_ptr<SimplePool> fPool;
|
||||
std::shared_ptr<SimplePool> fPool;
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user