setupFullMultiConfs: return smart ptr

This commit is contained in:
Justin Viiret
2016-03-01 16:35:09 +11:00
committed by Matthew Barr
parent 9953a026f8
commit aebbd4f169
4 changed files with 16 additions and 20 deletions

View File

@@ -57,9 +57,9 @@ class EngineDescription;
class FDREngineDescription;
struct hwlmStreamingControl;
std::pair<u8 *, size_t> setupFullMultiConfs(
std::pair<aligned_unique_ptr<u8>, size_t> setupFullMultiConfs(
const std::vector<hwlmLiteral> &lits, const EngineDescription &eng,
std::map<BucketIndex, std::vector<LiteralIndex> > &bucketToLits,
std::map<BucketIndex, std::vector<LiteralIndex>> &bucketToLits,
bool make_small);
// all suffixes include an implicit max_bucket_width suffix to ensure that