aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/compatibility.html5
1 files changed, 2 insertions, 3 deletions
diff --git a/www/compatibility.html b/www/compatibility.html
index 85133fbca2..0f8409b953 100644
--- a/www/compatibility.html
+++ b/www/compatibility.html
@@ -590,9 +590,8 @@ void g(Base *base) {
downcast.mm:6:3: error: no matching function for call to 'f'
f(base);
^
-downcast.mm:4:6: note: candidate function not viable: cannot convert from base
- class pointer 'Base *' to derived class pointer 'Derived *' for 1st
- argument
+downcast.mm:4:6: note: candidate function not viable: cannot convert from
+ superclass 'Base *' to subclass 'Derived *' for 1st argument
void f(Derived *);
^
</pre>