summaryrefslogtreecommitdiffstats
path: root/src/template.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/template.cpp')
-rw-r--r--src/template.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/template.cpp b/src/template.cpp
index 793d769..ea3c673 100644
--- a/src/template.cpp
+++ b/src/template.cpp
@@ -1713,7 +1713,7 @@ void TemplateContextImpl::warn(const char *fileName,int line,const char *fmt,...
{
va_list args;
va_start(args,fmt);
- ::warn(fileName,line,fmt,args);
+ va_warn(fileName,line,fmt,args);
va_end(args);
m_engine->printIncludeContext(fileName,line);
}
@@ -3342,7 +3342,7 @@ void TemplateParser::warn(const char *fileName,int line,const char *fmt,...) con
{
va_list args;
va_start(args,fmt);
- ::warn(fileName,line,fmt,args);
+ va_warn(fileName,line,fmt,args);
va_end(args);
m_engine->printIncludeContext(fileName,line);
}