We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 05ccb75 + 3986b03 commit db9c799Copy full SHA for db9c799
src/cpp/cpp_using.h
@@ -28,7 +28,7 @@ class cpp_usingt:public irept
28
29
const cpp_namet &name() const
30
{
31
- return (cpp_namet &)find(ID_name);
+ return (const cpp_namet &)find(ID_name);
32
}
33
34
bool get_namespace() const
src/util/std_code.h
@@ -1858,7 +1858,7 @@ class code_push_catcht:public codet
1858
1859
1860
exception_listt &exception_list() {
1861
- return (exception_listt &)find(ID_exception_list).get_sub();
+ return (exception_listt &)add(ID_exception_list).get_sub();
1862
1863
1864
const exception_listt &exception_list() const {
0 commit comments