JeffersonLab / JANA2

Multi-threaded HENP Event Reconstruction
https://jeffersonlab.github.io/JANA2/
Other
6 stars 9 forks source link

JParameterManager: specialize templates with more variants of the fundamental types #218

Closed veprbl closed 1 year ago

veprbl commented 1 year ago

Fixed width integer types may not necessarily enumerate all fundamental types on all platforms. This fixes a following compilation error of EICrecon on macOS:

prefix/include/JANA/Services/JParameterManager.h:299:8: error: invalid operands to binary expression ('std::stringstream' (aka 'basic_stringstream<char>') and 'std::__1::vector<unsigned long, std::__1::allocator<unsigned long>>')
    ss >> val;
    ~~ ^  ~~~