diff options
-rw-r--r-- | bpkg/utility.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bpkg/utility.cxx b/bpkg/utility.cxx index 5d37972..206b358 100644 --- a/bpkg/utility.cxx +++ b/bpkg/utility.cxx @@ -92,8 +92,7 @@ namespace bpkg { try { - dir_iterator i (d); - return i == end (i); + return dir_empty (d); } catch (const system_error& e) { |