Skip to content

Commit 50f7119

Browse files
mohangkMohan Krishnan
andauthored
Fix undefined template std::basic_string<char> (#726)
Getting this error when compiling on Mac with clang 17 Simple fix, add the string header in src/llama-impl.h Co-authored-by: Mohan Krishnan <[email protected]>
1 parent af13c9a commit 50f7119

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/llama-impl.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#include <vector>
1616
#include <cinttypes>
1717
#include <cstring>
18+
#include <string>
1819

1920
#ifdef __GNUC__
2021
#ifdef __MINGW32__

0 commit comments

Comments
 (0)