Codechange: use std::string to return the debug level information

This commit is contained in:
Rubidium
2023-06-02 16:08:45 +02:00
committed by rubidium42
parent 10e12154f5
commit 53f83c31b0
2 changed files with 7 additions and 15 deletions

View File

@@ -58,7 +58,7 @@ extern int _debug_random_level;
void DumpDebugFacilityNames(std::back_insert_iterator<std::string> &output_iterator);
void SetDebugString(const char *s, void (*error_func)(const std::string &));
const char *GetDebugString();
std::string GetDebugString();
/* Shorter form for passing filename and linenumber */
#define FILE_LINE __FILE__, __LINE__