diff options
Diffstat (limited to 'Source/WarpX.H')
-rw-r--r-- | Source/WarpX.H | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/WarpX.H b/Source/WarpX.H index 92bd79c59..f861278ce 100644 --- a/Source/WarpX.H +++ b/Source/WarpX.H @@ -121,9 +121,9 @@ public: * @param[in] priority priority of the warning message ("medium" by default) */ void RecordWarning( - std::string topic, - std::string text, - WarnPriority priority = WarnPriority::medium); + const std::string& topic, + const std::string& text, + const WarnPriority& priority = WarnPriority::medium); /** * \brief This function prints all the warning messages collected on the present MPI rank |