Skip to content
Snippets Groups Projects
Commit 143c698e authored by Jan Trávníček's avatar Jan Trávníček
Browse files

make SizeOf safe with void

parent cd5b67e6
No related branches found
No related tags found
No related merge requests found
......@@ -177,7 +177,7 @@ struct SizeOf {
 
template<>
struct SizeOf<void> {
static const size_t size = 0;
static const size_t size = 1;
};
 
template<class T>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment