1
0
Fork 0
mirror of https://github.com/KingDuckZ/dindexer.git synced 2025-08-13 14:39:47 +00:00

Buildfix and minor changes

This commit is contained in:
King_DuckZ 2015-12-13 16:14:05 +00:00
parent bef901c56c
commit 986f0c8db3
4 changed files with 5 additions and 4 deletions

View file

@ -32,6 +32,7 @@ namespace {
}
std::cout << "Confirm deleting these sets? (Y/n)" << std::endl;
std::string answer;
//see also: http://www.lb-stuff.com/user-input
std::cin >> std::noskipws >> answer >> std::skipws;
return (answer.empty() or "y" == answer or "Y" == answer);