Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/include/internal/catch_commandline.cpp
diff options
context:
space:
mode:
authorMartin Hořeňovský2017-07-25 17:16:28 +0200
committerMartin Hořeňovský2017-07-25 17:16:28 +0200
commit1e59ccee41f269440310979a0b6ab7e4dbb1e453 (patch)
tree3392bc674c6ce58ad60fd53fa8fff30a3c2efe8a /include/internal/catch_commandline.cpp
parentb6f62af7d1a96482ca5df3c476e30f8fcf35df5a (diff)
downloadcatch3-1e59ccee41f269440310979a0b6ab7e4dbb1e453.tar.gz
Addressed Resharper-C++ warnings
See #958
Diffstat (limited to 'include/internal/catch_commandline.cpp')
-rw-r--r--include/internal/catch_commandline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/internal/catch_commandline.cpp b/include/internal/catch_commandline.cpp
index d5f2ab4e..087aa276 100644
--- a/include/internal/catch_commandline.cpp
+++ b/include/internal/catch_commandline.cpp
@@ -55,7 +55,7 @@ namespace Catch {
auto const setRngSeed = [&]( std::string const& seed ) {
if( seed != "time" )
return clara::detail::convertInto( seed, config.rngSeed );
- config.rngSeed = static_cast<unsigned int>( std::time(0) );
+ config.rngSeed = static_cast<unsigned int>( std::time(nullptr) );
return ParserResult::ok( ParseResultType::Matched );
};
auto const setColourUsage = [&]( std::string const& useColour ) {