From e1fa4a088dd95caef22045f905a9d5d22b71bef0 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Tue, 24 Jan 2017 21:50:39 -0500 Subject: Whitespace changes --- lib/role.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'lib/role.h') diff --git a/lib/role.h b/lib/role.h index 8653710..4884ef3 100644 --- a/lib/role.h +++ b/lib/role.h @@ -9,13 +9,13 @@ namespace verbly { class role { public: - + // Default constructor - + role() = default; - + // Constructor - + role( std::string name, selrestr selrestrs = {}) : @@ -24,35 +24,35 @@ namespace verbly { selrestrs_(selrestrs) { } - + // Accessors - + const std::string& getName() const { if (!valid_) { throw std::domain_error("Bad access to invalid role"); } - + return name_; } - + const selrestr& getSelrestrs() const { if (!valid_) { throw std::domain_error("Bad access to invalid role"); } - + return selrestrs_; } - + private: - + bool valid_ = false; std::string name_; selrestr selrestrs_; - + }; }; -- cgit 1.4.1