View Issue Details

IDProjectCategoryView StatusLast Update
0002181OpenFOAMBugpublic2016-08-08 15:46
Reporteruser696Assigned Tohenry  
PrioritylowSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Platformany 
Product Versiondev 
Fixed in Versiondev 
Summary0002181: nullptr collateral damage
DescriptionBad changes here:

applications/utilities/mesh/conversion/ideasUnvToFoam/unv/block_with_inlet_outlet.UNV

Questionable changes here:

src/OpenFOAM/db/IOstreams/token/token*.H
NULL_TOKEN = '\0' (for nul-character, not null pointer).

STYLE: "nullptr pointer ..." sounds redundant
src/OSspecific/POSIX/regExp.C
src/OpenFOAM/containers/HashTables/HashTable/HashTable.C
src/OpenFOAM/db/functionObjects/functionObjectList/functionObjectList.H

TagsNo tags attached.

Activities

user696

2016-08-08 15:34

  ~0006654

Last edited: 2016-08-08 15:34

BTW: doesn't fit at all, but also not worth opening a report.

For the primitives/int*/ could now probably also just use the following:

//- Return a word representation of an int32
inline word name(const int32_t val)
{
    return std::to_string(val);
}

Should work reliably for ints, avoids the ostringstream workaround.

henry

2016-08-08 15:46

manager   ~0006657

Resolved by commit 126813acae3d2bd87ca94e2ee052fe9a9c4f7843

Issue History

Date Modified Username Field Change
2016-08-08 15:08 user696 New Issue
2016-08-08 15:34 user696 Note Added: 0006654
2016-08-08 15:34 user696 Note Edited: 0006654
2016-08-08 15:46 henry Note Added: 0006657
2016-08-08 15:46 henry Status new => resolved
2016-08-08 15:46 henry Fixed in Version => dev
2016-08-08 15:46 henry Resolution open => fixed
2016-08-08 15:46 henry Assigned To => henry