Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5eee873 commit 18e28f3Copy full SHA for 18e28f3
blobstamper/stamp_json.cpp
@@ -74,10 +74,10 @@ PoolPickerStamp::ExtractStr(std::shared_ptr<Blob> blob)
74
}
75
76
77
- if (unbounded_pool.size()>0)
+ if (! unbounded_pool.empty())
78
target_pool = unbounded_pool;
79
80
- if (target_pool.size() == 0)
+ if (target_pool.empty())
81
{
82
/* Most probably we are in out of data situation. Check it
83
* and throw an exception. Or abort if something goes wrong
@@ -187,4 +187,3 @@ StampJSON::StampJSON()
187
add_weak(stamp_a);
188
add_weak(stamp_h);
189
190
-
0 commit comments