compilation fixes
This commit is contained in:
parent
f3eaf3f726
commit
588eccba0d
|
@ -26,7 +26,7 @@
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <stdarg.h>
|
#include <cstdlib>
|
||||||
|
|
||||||
void Logger::log(int level, const char *trace, const char *format, ...)
|
void Logger::log(int level, const char *trace, const char *format, ...)
|
||||||
{
|
{
|
||||||
|
|
|
@ -23,8 +23,7 @@
|
||||||
|
|
||||||
|
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
|
#include <cstdio>
|
||||||
#include <stdarg.h>
|
|
||||||
|
|
||||||
std::string vformat(const char *format, va_list args)
|
std::string vformat(const char *format, va_list args)
|
||||||
{
|
{
|
||||||
|
|
|
@ -26,6 +26,7 @@
|
||||||
#define UTIL_H
|
#define UTIL_H
|
||||||
|
|
||||||
#include "logger.h"
|
#include "logger.h"
|
||||||
|
#include <stdarg.h>
|
||||||
#include <boost/lexical_cast.hpp>
|
#include <boost/lexical_cast.hpp>
|
||||||
|
|
||||||
/// Formatting like printf for std::string, va_list input version
|
/// Formatting like printf for std::string, va_list input version
|
||||||
|
|
Loading…
Reference in New Issue