v1.03 prerelease - Full Linux port of crnlib/crunch, in progress - still more testing to do, and some cmd line options (such as -timestamp) don't work under linux yet, but the core stuff (compression/decompression/transcoding) should work fine and performance under Linux is comparable to Windows. The 3 examples haven't been ported yet.
This commit is contained in:
@@ -30,7 +30,7 @@ namespace crnlib
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
void construct_array(T* p, uint n)
|
||||
inline void construct_array(T* p, uint n)
|
||||
{
|
||||
T* q = p + n;
|
||||
for ( ; p != q; ++p)
|
||||
@@ -38,7 +38,7 @@ namespace crnlib
|
||||
}
|
||||
|
||||
template <typename T, typename U>
|
||||
void construct_array(T* p, uint n, const U& init)
|
||||
inline void construct_array(T* p, uint n, const U& init)
|
||||
{
|
||||
T* q = p + n;
|
||||
for ( ; p != q; ++p)
|
||||
|
||||
Reference in New Issue
Block a user