aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--SourceReferenceFormatter.cpp2
-rw-r--r--SourceReferenceFormatter.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/SourceReferenceFormatter.cpp b/SourceReferenceFormatter.cpp
index 1a7d12a9..c61f9b68 100644
--- a/SourceReferenceFormatter.cpp
+++ b/SourceReferenceFormatter.cpp
@@ -61,7 +61,7 @@ void SourceReferenceFormatter::printSourceLocation(ostream& _stream,
void SourceReferenceFormatter::printExceptionInformation(ostream& _stream,
Exception const& _exception,
string const& _name,
- CompilerStack& _compiler)
+ CompilerStack const& _compiler)
{
Location const* location = boost::get_error_info<errinfo_sourceLocation>(_exception);
Scanner const* scanner;
diff --git a/SourceReferenceFormatter.h b/SourceReferenceFormatter.h
index 9b556704..8e3f126f 100644
--- a/SourceReferenceFormatter.h
+++ b/SourceReferenceFormatter.h
@@ -41,7 +41,7 @@ struct SourceReferenceFormatter
public:
static void printSourceLocation(std::ostream& _stream, Location const& _location, Scanner const& _scanner);
static void printExceptionInformation(std::ostream& _stream, Exception const& _exception,
- std::string const& _name, CompilerStack& _compiler);
+ std::string const& _name, CompilerStack const& _compiler);
};
}