Skip to content

Commit c9431c6

Browse files
committed
Added exception to allow #include<string> in af-types.h
1 parent 0bc8296 commit c9431c6

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

scripts/tools/check_includes_config.py

+2
Original file line numberDiff line numberDiff line change
@@ -193,4 +193,6 @@
193193

194194
# nrfconnect test runner
195195
'src/test_driver/nrfconnect/main/runner.cpp': {'vector'},
196+
197+
'src/app/util/af-types.h': {'string'},
196198
}

src/app/util/af-types.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
#include <stdbool.h> // For bool
2727
#include <stdint.h> // For various uint*_t types
28-
#include <string>
28+
#include <string> // For string
2929

3030
#include <app/util/AttributesChangedListener.h>
3131
#include <app/util/MarkAttributeDirty.h>

0 commit comments

Comments
 (0)