]> git.lyx.org Git - lyx.git/blobdiff - src/support/weighted_btree.h
Expose python 3 support to some testing
[lyx.git] / src / support / weighted_btree.h
index 10f4793ff34c31b3421c89ec4271ac5dade1f957..0b833740d0a31aaa3a3bc6c46b249c88aa8004d5 100644 (file)
@@ -1769,7 +1769,7 @@ public:
             clear();
 
             key_less = other.key_comp();
-            if (other.size() != 0)
+            if (!other.empty())
             {
                 stats.leaves = stats.innernodes = 0;
                 root = copy_recursive(other.root);
@@ -1788,7 +1788,7 @@ public:
           stats( other.stats ),
           key_less( other.key_comp() )
     {
-        if (size() > 0)
+        if (!empty())
         {
             stats.leaves = stats.innernodes = 0;
             root = copy_recursive(other.root);