aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/interface/ErrorReporter.h
diff options
context:
space:
mode:
authorFederico Bond <federicobond@gmail.com>2017-07-20 06:22:36 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-08-12 05:45:25 +0800
commitd4997dd9a3ec10767d8ee289207fdf0ea6b45f0a (patch)
tree4db636a244f5577586fc69e10a9adb79e8b39015 /libsolidity/interface/ErrorReporter.h
parenta6949851f332df8d05bef3cb2cd45105a02100a5 (diff)
downloaddexon-solidity-d4997dd9a3ec10767d8ee289207fdf0ea6b45f0a.tar.gz
dexon-solidity-d4997dd9a3ec10767d8ee289207fdf0ea6b45f0a.tar.zst
dexon-solidity-d4997dd9a3ec10767d8ee289207fdf0ea6b45f0a.zip
Use a secondary location for function override errors
Diffstat (limited to 'libsolidity/interface/ErrorReporter.h')
-rw-r--r--libsolidity/interface/ErrorReporter.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libsolidity/interface/ErrorReporter.h b/libsolidity/interface/ErrorReporter.h
index 42b0c8b6..12f4e8df 100644
--- a/libsolidity/interface/ErrorReporter.h
+++ b/libsolidity/interface/ErrorReporter.h
@@ -75,8 +75,8 @@ public:
void typeError(
SourceLocation const& _location,
- SecondarySourceLocation const& _secondaryLocation,
- std::string const& _description
+ SecondarySourceLocation const& _secondaryLocation = SecondarySourceLocation(),
+ std::string const& _description = std::string()
);
void typeError(SourceLocation const& _location, std::string const& _description);