-
Notifications
You must be signed in to change notification settings - Fork 836
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix clang c++ compiler error in unit tests. (#1027)
Apple's c++ compiler (clang) has issues with array declarations using a variable. e.g. ``` error: variable-sized object may not be initialized ``` g++ doesn't seem to have an issue with it. Some unit tests used this, changing the variable to a constant fixes it. Fixes #1026
- Loading branch information
1 parent
e4bff69
commit 27bb582
Showing
1 changed file
with
36 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters