Skip to content

Commit

Permalink
Include what you use for some chef files (#33197)
Browse files Browse the repository at this point in the history
* Some include-what-you-use for stl things in chef

* Restyle

---------

Co-authored-by: Andrei Litvin <[email protected]>
  • Loading branch information
andy31415 and andreilitvin authored Apr 26, 2024
1 parent f141aeb commit 5ce992d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,14 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <iostream>
#include <lib/support/logging/CHIPLogging.h>

#ifdef MATTER_DM_PLUGIN_DOOR_LOCK_SERVER
#include "chef-lock-manager.h"

#include <algorithm>
#include <iostream>

using chip::to_underlying;

LockManager LockManager::instance;
Expand Down
2 changes: 2 additions & 0 deletions examples/chef/common/clusters/door-lock/chef-lock-manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@

#include "chef-lock-endpoint.h"
#include <app/clusters/door-lock-server/door-lock-server.h>

#include <cstdint>
#include <vector>

class LockManager
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

#include <app/clusters/target-navigator-server/target-navigator-server.h>

#include <list>
#include <string>

class TargetNavigatorManager : public chip::app::Clusters::TargetNavigator::Delegate
Expand Down
1 change: 1 addition & 0 deletions examples/chef/esp32/main/QRCodeScreen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
#include <setup_payload/QRCodeSetupPayloadGenerator.h>

#include <string>
#include <vector>

// TODO need sensible library tag when put in library
extern const char TAG[];
Expand Down

0 comments on commit 5ce992d

Please sign in to comment.