Output const_string directly, without toStdString()
This commit is contained in:
parent
6b9b5dfef1
commit
fe5ea5ab95
@ -21,11 +21,11 @@ using cpputils::make_unique_ref;
|
||||
using std::cout;
|
||||
using std::endl;
|
||||
|
||||
int main (int argc, char *argv[])
|
||||
{
|
||||
int main(int argc, char *argv[]) {
|
||||
cout << "CryFS Version " << gitversion::VERSION.toString() << endl;
|
||||
if (gitversion::VERSION.isDev()) {
|
||||
cout << "WARNING! This is a development version based on git commit " << gitversion::VERSION.gitCommitId().toStdString() << ". Please do not use in production!" << endl;
|
||||
cout << "WARNING! This is a development version based on git commit " << gitversion::VERSION.gitCommitId() <<
|
||||
". Please do not use in production!" << endl;
|
||||
} else if (!gitversion::VERSION.isStable()) {
|
||||
cout << "WARNING! This is an experimental version. Please backup your data frequently!" << endl;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user