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

summaryrefslogtreecommitdiffhomepage
path: root/include/internal
diff options
context:
space:
mode:
authorPhil Nash2014-04-18 08:28:52 +0100
committerPhil Nash2014-04-18 08:28:52 +0100
commit7303b2b60ef4b5bf01d7eda5da62beb243ce7a75 (patch)
treefceb6d2c85716665b72eeac8b03fd2a268fb46e9 /include/internal
parentcfc37b5fe9708d82cc9d1a3e3ed976ed8ae67f2d (diff)
downloadcatch3-7303b2b60ef4b5bf01d7eda5da62beb243ce7a75.tar.gz
Changed branchName to char*, as per #266
Diffstat (limited to 'include/internal')
-rw-r--r--include/internal/catch_version.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/internal/catch_version.h b/include/internal/catch_version.h
index bca0f8bb..ca2feef3 100644
--- a/include/internal/catch_version.h
+++ b/include/internal/catch_version.h
@@ -15,17 +15,17 @@ namespace Catch {
Version( unsigned int _majorVersion,
unsigned int _minorVersion,
unsigned int _buildNumber,
- std::string const& _branchName )
+ char const* const _branchName )
: majorVersion( _majorVersion ),
minorVersion( _minorVersion ),
buildNumber( _buildNumber ),
branchName( _branchName )
{}
- const unsigned int majorVersion;
- const unsigned int minorVersion;
- const unsigned int buildNumber;
- const std::string branchName;
+ unsigned int const majorVersion;
+ unsigned int const minorVersion;
+ unsigned int const buildNumber;
+ char const* const branchName;
private:
void operator=( Version const& );