mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2025-01-04 09:15:05 +00:00
I'm lazy.
This commit is contained in:
parent
aebda38a61
commit
55f75ea058
@ -32,10 +32,10 @@ class MTX_DLL_API memory_c {
|
|||||||
public:
|
public:
|
||||||
typedef unsigned char X;
|
typedef unsigned char X;
|
||||||
|
|
||||||
explicit memory_c(X *p = NULL, int s = 0, bool f = false): // allocate a new counter
|
explicit memory_c(void *p = NULL, int s = 0, bool f = false): // allocate a new counter
|
||||||
its_counter(NULL) {
|
its_counter(NULL) {
|
||||||
if (p)
|
if (p)
|
||||||
its_counter = new counter(p, s, f);
|
its_counter = new counter((unsigned char *)p, s, f);
|
||||||
}
|
}
|
||||||
|
|
||||||
~memory_c() {
|
~memory_c() {
|
||||||
|
Loading…
Reference in New Issue
Block a user