File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ struct Text : JsonSerializable {
192
192
}
193
193
json[" annotations" ] = annotations_json_arr;
194
194
return json;
195
- } catch (const std::exception e) {
195
+ } catch (const std::exception & e) {
196
196
return cpp::fail (std::string (" ToJson failed: " ) + e.what ());
197
197
}
198
198
};
Original file line number Diff line number Diff line change 25
25
#include " ggml.h"
26
26
#include " utils/logging_utils.h"
27
27
#include " utils/string_utils.h"
28
-
29
- // #define GGUF_LOG(msg) \
30
- // do { \
31
- // std::cout << __FILE__ << "(@" << __LINE__ << "): " << msg << '\n'; \
32
- // } while (false)
28
+ /*
29
+ #define GGUF_LOG(msg) \
30
+ do { \
31
+ std::cout << __FILE__ << "(@" << __LINE__ << "): " << msg << '\n'; \
32
+ } while (false)
33
+ */
33
34
34
35
#define GGUF_LOG (msg )
35
36
namespace hardware {
You can’t perform that action at this time.
0 commit comments