From 174f6e5d0f370ddfe28ace6acfb5362cfb102280 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 11 Oct 2009 09:32:17 +0200 Subject: Simplify to work around VC++ bugs --- cli/semantics/option.hxx | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'cli/semantics/option.hxx') diff --git a/cli/semantics/option.hxx b/cli/semantics/option.hxx index 21fc900..d5437e1 100644 --- a/cli/semantics/option.hxx +++ b/cli/semantics/option.hxx @@ -34,9 +34,7 @@ namespace semantics return *type_; } - protected: - friend class graph; - + public: void set_left_node (option_type& n) { @@ -78,9 +76,7 @@ namespace semantics return *expression_; } - protected: - friend class graph; - + public: void set_left_node (option_type& n) { @@ -139,9 +135,7 @@ namespace semantics return initialized_->expression (); } - protected: - friend class graph; - + public: option (path const& file, size_t line, size_t column) : node (file, line, column), initialized_ (0) { -- cgit v1.1