Let 'isValid' inline.

This commit is contained in:
JoelKatz
2013-05-21 15:39:35 -07:00
parent dedb8ff945
commit a6bbef4718
2 changed files with 1 additions and 6 deletions

View File

@@ -35,11 +35,6 @@ RippleAddress::RippleAddress() : mIsValid(false)
nVersion = VER_NONE;
}
bool RippleAddress::isValid() const
{
return mIsValid;
}
void RippleAddress::clear()
{
nVersion = VER_NONE;

View File

@@ -28,7 +28,7 @@ public:
RippleAddress();
// For public and private key, checks if they are legal.
bool isValid() const;
bool isValid() const { return mIsValid; }
void clear();
bool isSet() const;