diff --git a/wpiutil/src/main/native/include/wpi/Twine.h b/wpiutil/src/main/native/include/wpi/Twine.h index bbc96448d7..5d0e2d2946 100644 --- a/wpiutil/src/main/native/include/wpi/Twine.h +++ b/wpiutil/src/main/native/include/wpi/Twine.h @@ -179,11 +179,6 @@ namespace wpi { assert(isValid() && "Invalid twine!"); } - /// Check for the null twine. - bool isNull() const { - return getLHSKind() == NullKind; - } - /// Check for the empty twine. bool isEmpty() const { return getLHSKind() == EmptyKind; @@ -380,6 +375,11 @@ namespace wpi { /// @name Predicate Operations /// @{ + /// Check for the null twine. + bool isNull() const { + return getLHSKind() == NullKind; + } + /// Check if this twine is trivially empty; a false return value does not /// necessarily mean the twine is empty. bool isTriviallyEmpty() const {