integrate platform sub-namespace into source code and documentation
this updates function calls to functions that have been moved from the utils namepsace or the Info class to platform::
This commit is contained in:
@ -4394,9 +4394,9 @@ void lammps_get_os_info(char *buffer, int buf_size)
|
||||
{
|
||||
if (buf_size <=0) return;
|
||||
buffer[0] = buffer[buf_size-1] = '\0';
|
||||
std::string txt = Info::get_os_info() + "\n";
|
||||
txt += Info::get_compiler_info();
|
||||
txt += " with " + Info::get_openmp_info() + "\n";
|
||||
std::string txt = platform::os_info() + "\n";
|
||||
txt += platform::compiler_info();
|
||||
txt += " with " + platform::openmp_standard() + "\n";
|
||||
strncpy(buffer, txt.c_str(), buf_size-1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user