mirror of
https://github.com/hoytech/strfry.git
synced 2025-06-16 16:28:50 +00:00
don't absolute qualify stdin (it's a macro)
This commit is contained in:
@ -66,7 +66,7 @@ void cmd_import(const std::vector<std::string> &subArgs) {
|
||||
|
||||
uint64_t currLine = 0;
|
||||
|
||||
while (ssize_t numRead = ::getline(&buf, &bufLen, ::stdin)) {
|
||||
while (ssize_t numRead = ::getline(&buf, &bufLen, stdin)) {
|
||||
if (numRead <= 0) break;
|
||||
currLine++;
|
||||
|
||||
|
Reference in New Issue
Block a user