Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/node_file-inl.h')
-rw-r--r--src/node_file-inl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_file-inl.h b/src/node_file-inl.h
index 2ad8c73f05e..0188261b7dc 100644
--- a/src/node_file-inl.h
+++ b/src/node_file-inl.h
@@ -28,7 +28,7 @@ void FSContinuationData::MaybeSetFirstPath(const std::string& path) {
}
std::string FSContinuationData::PopPath() {
- CHECK_GT(paths_.size(), 0);
+ CHECK(!paths_.empty());
std::string path = std::move(paths_.back());
paths_.pop_back();
return path;