Skip to content

Commit

Permalink
Fix C4345
Browse files Browse the repository at this point in the history
```
warning C4345: behavior change: an object of POD type constructed with an initializer of the form () will be default-initialized
```
  • Loading branch information
fjeremic committed Jun 7, 2021
1 parent 23b6162 commit 3de4141
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions compiler/optimizer/TranslateTable.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ class TR_TranslateTable
struct TR_TranslateTableData
{
TR_ALLOC(TR_Memory::LoopTransformer)

TR_TranslateTableData() {}

TR_TranslateTableData* next; // next table in linked list
uint8_t* data; // pointer to data table
uint32_t defaultValue; // default value
Expand Down

0 comments on commit 3de4141

Please sign in to comment.