mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Changed code so that it compiles in visual studio
--HG-- extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402631
This commit is contained in:
parent
d7ecc1fa97
commit
5dea5dbc5c
@ -83,7 +83,7 @@ namespace dlib
|
||||
// This is here just to validate the assumption that our block of memory we have made
|
||||
// in mp_memory.data is the right size to store the data for this object. If you
|
||||
// get a compiler error on this line then email me :)
|
||||
COMPILE_TIME_ASSERT(sizeof(*this) <= mem_size);
|
||||
COMPILE_TIME_ASSERT(sizeof(mp_impl_T) <= mem_size);
|
||||
clone(buf);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user