diff options
author | 2017-01-28 16:02:39 +0100 | |
---|---|---|
committer | 2017-01-29 15:45:50 +0100 | |
commit | 2720512e31c8659294d05b336af58d982cd99329 (patch) | |
tree | 280402940055c4daf7bb057cb4abe8bfe28c7dc7 /src/lib/netlist/plib/palloc.h | |
parent | 1070ea6d0f89f54bbe3141a94d0a43ab569b65ae (diff) |
Solver stuff:
Rewrote mat_cr_t to include data as well.
Fixed some bitrot in other parts.
Simplified solver creation. (nw)
Diffstat (limited to 'src/lib/netlist/plib/palloc.h')
-rw-r--r-- | src/lib/netlist/plib/palloc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/netlist/plib/palloc.h b/src/lib/netlist/plib/palloc.h index d71ebc7dbc5..2e4c2809048 100644 --- a/src/lib/netlist/plib/palloc.h +++ b/src/lib/netlist/plib/palloc.h @@ -28,7 +28,7 @@ template<typename T> void pfree(T *ptr) { delete ptr; } template<typename T> -inline T* palloc_array(std::size_t num) +inline T* palloc_array(const std::size_t num) { return new T[num](); } |