Skip to content

Commit af8279f

Browse files
Merge pull request #4272 from graham0824:dev/chuntl/fix_bug_for_cmake_build
PiperOrigin-RevId: 826045177
2 parents f12ff82 + 57e7429 commit af8279f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tflite/core/model_building.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ class [[nodiscard]] Buffer {
104104
template <TfLiteType kType, class T>
105105
void Assign(Buffer b, std::vector<int> shape, const std::vector<T>& data,
106106
Quantization quantization) {
107-
using Storage = TfLiteTypeToType<kType>::Type;
107+
using Storage = typename TfLiteTypeToType<kType>::Type;
108108
std::unique_ptr<Storage[]> buffer_data(new Storage[data.size()]);
109109
std::copy(begin(data), end(data), buffer_data.get());
110110
Assign(

0 commit comments

Comments
 (0)