I am surprised to notice this change that now expects argc and argv to not be nullptr:
|
OMEGA_H_CHECK(argc != nullptr); |
|
OMEGA_H_CHECK(argv != nullptr); |
|
for (int ic = 0; ic < *argc; ic++) { |
|
argv_.push_back((*argv)[ic]); |
|
} |
... since Library provides a default constructor:
|
inline Library() : Library(nullptr, nullptr) {} |
Blue Brain Project doesn't mind updating its usage to now passes argc and argv, but maybe introduce 2 breaking changes in Library API:
- remove the Library default constructor
- expect argc and argv to be rvalue, not pointers.
I am surprised to notice this change that now expects
argcandargvto not benullptr:omega_h/src/Omega_h_library.cpp
Lines 70 to 74 in 140c951
... since
Libraryprovides a default constructor:omega_h/src/Omega_h_library.hpp
Line 13 in 140c951
Blue Brain Project doesn't mind updating its usage to now passes
argcandargv, but maybe introduce 2 breaking changes inLibraryAPI: