X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=folly%2FScopeGuard.h;h=ad96afdc4c5a37a1a9944437d1b77a9b8daba591;hb=0e7c824d239f6668be1afb2ffd334f89ce294c80;hp=26531cd87c9e626c836299bbbafbd58148a159ed;hpb=c520b4fa0fbbcdf69fd951d116b317c574f6f0e1;p=folly.git diff --git a/folly/ScopeGuard.h b/folly/ScopeGuard.h index 26531cd8..ad96afdc 100644 --- a/folly/ScopeGuard.h +++ b/folly/ScopeGuard.h @@ -1,5 +1,5 @@ /* - * Copyright 2016 Facebook, Inc. + * Copyright 2017 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -83,7 +83,7 @@ class ScopeGuardImplBase { function(); } catch (...) { warnAboutToCrash(); - throw; + std::terminate(); } }