aboutsummaryrefslogtreecommitdiffstats
path: root/include/gtest
diff options
context:
space:
mode:
authorArthur O'Dwyer <arthur.j.odwyer@gmail.com>2020-03-28 14:27:18 -0400
committerArthur O'Dwyer <arthur.j.odwyer@gmail.com>2020-03-28 15:15:20 -0400
commit6ed4e7168f5457fae9508d8bb08f94b67a960847 (patch)
tree096fc43795b440c86575529a87be965cdea2bf26 /include/gtest
parent67cc66080d64e3fa5124fe57ed0cf15e2cecfdeb (diff)
downloadgoogletest-6ed4e7168f5457fae9508d8bb08f94b67a960847.tar.gz
googletest-6ed4e7168f5457fae9508d8bb08f94b67a960847.tar.bz2
googletest-6ed4e7168f5457fae9508d8bb08f94b67a960847.zip
Replace the last instance of `throw()` with `noexcept`. NFC.
Fixes a -Wdeprecated warning. /home/travis/build/Quuxplusone/googletest/googletest/test/googletest-death-test_ex_test.cc:62:28: error: dynamic exception specifications are deprecated [-Werror,-Wdeprecated] const char* what() const throw() override { return "exceptional message"; } ^~~~~~~ /home/travis/build/Quuxplusone/googletest/googletest/test/googletest-death-test_ex_test.cc:62:28: note: use 'noexcept' instead const char* what() const throw() override { return "exceptional message"; } ^~~~~~~ noexcept
Diffstat (limited to 'include/gtest')
0 files changed, 0 insertions, 0 deletions
8'>138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225