forked from suyu/suyu
maxwell3d: Add missing return in default SizeInBytes() case
We were returning '1' in ComponentCount()'s default case but were neglecting to do the same with SizeInBytes().
This commit is contained in:
parent
20f474b09a
commit
be6844c1ed
1 changed files with 1 additions and 0 deletions
|
@ -242,6 +242,7 @@ public:
|
||||||
return 4;
|
return 4;
|
||||||
default:
|
default:
|
||||||
UNREACHABLE();
|
UNREACHABLE();
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue