diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2009-10-11 09:32:17 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2009-10-11 09:32:17 +0200 |
commit | 174f6e5d0f370ddfe28ace6acfb5362cfb102280 (patch) | |
tree | d293ea36c57ac65cd953fcf7d573da1d496247cd /cli/semantics/option.hxx | |
parent | 268d755af2e1ac89b8bcc675ab5b3fc93594b97a (diff) |
Simplify to work around VC++ bugs
Diffstat (limited to 'cli/semantics/option.hxx')
-rw-r--r-- | cli/semantics/option.hxx | 12 |
1 files changed, 3 insertions, 9 deletions
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<node, edge>; - + public: void set_left_node (option_type& n) { @@ -78,9 +76,7 @@ namespace semantics return *expression_; } - protected: - friend class graph<node, edge>; - + public: void set_left_node (option_type& n) { @@ -139,9 +135,7 @@ namespace semantics return initialized_->expression (); } - protected: - friend class graph<node, edge>; - + public: option (path const& file, size_t line, size_t column) : node (file, line, column), initialized_ (0) { |