Skip to content

Commit

Permalink
Add note that Bridge and Group in EntertainmentMode must stay alive.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jojo-1000 authored and enwi committed Mar 24, 2021
1 parent efd1ed5 commit b0de859
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/hueplusplus/EntertainmentMode.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ class EntertainmentMode
//!
//! \param b Bridge reference
//! \param g Group to control in entertainment mode reference
//!
//! \note References are held to both \c b and \c g.
//! They must stay valid until EntertainmentMode ist destroyed.
EntertainmentMode(Bridge& b, Group& g);

//! \brief Destroy the Entertainment Mode object
Expand Down

0 comments on commit b0de859

Please sign in to comment.