X-Git-Url: https://www.ginac.de/CLN/cln.git//cln.git?a=blobdiff_plain;f=include%2Fcln%2FGV_complex.h;h=8939debb727b07032629944436a936f756238df5;hb=e47b7b1880e8a0688cdad03ea5e449476bca38ca;hp=d04205e212c0aca78813c45438ca35d13504f06b;hpb=2ed9ef84d30ffdf94987425843f1f47bbbe6f1fa;p=cln.git diff --git a/include/cln/GV_complex.h b/include/cln/GV_complex.h index d04205e..8939deb 100644 --- a/include/cln/GV_complex.h +++ b/include/cln/GV_complex.h @@ -19,7 +19,7 @@ public: // Constructors. cl_GV_N (); cl_GV_N (const cl_GV_N&); - explicit cl_GV_N (uintC len); + explicit cl_GV_N (std::size_t len); // Assignment operators. cl_GV_N& operator= (const cl_GV_N&); // Private pointer manipulations. @@ -28,7 +28,7 @@ public: }; inline cl_GV_N::cl_GV_N (const cl_GV_N& x) : cl_GV (as_cl_private_thing(x)) {} CL_DEFINE_ASSIGNMENT_OPERATOR(cl_GV_N,cl_GV_N) -inline cl_GV_N::cl_GV_N (uintC len) +inline cl_GV_N::cl_GV_N (std::size_t len) : cl_GV ((cl_heap_GV_N*) cl_make_heap_GV_number(len)) {} inline cl_GV_N::cl_GV_N () : cl_GV ((cl_heap_GV_N*) (cl_heap_GV_number*) cl_null_GV_number) {}