diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mcolor.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/mcolor.cc b/lib/mcolor.cc index 1c13717..7932fb8 100644 --- a/lib/mcolor.cc +++ b/lib/mcolor.cc @@ -39,3 +39,7 @@ void mogltk::ColorP::Norm() { bool mogltk::ColorP::operator==(const ColorP & nc) { return c == nc.c; } + +Color * mogltk::ColorP::operator->() { + return &c; +} |