summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToon Schoenmakers <toon.schoenmakers@copernica.com>2015-01-21 11:09:38 +0100
committerToon Schoenmakers <toon.schoenmakers@copernica.com>2015-01-21 11:09:38 +0100
commit699f3c34daf086a3e9046c73c4e3785ea44a063d (patch)
tree690712fc96c73244626a6baaa1c9b59e0a52dbbf
parent5235f87126cc2bca3907daada9f59e0c7c7bc834 (diff)
This should have noexcept in the .cpp file as well
At least, clang told me it should have noexcept there
-rw-r--r--zend/script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/zend/script.cpp b/zend/script.cpp
index a1b5b04..988ab1c 100644
--- a/zend/script.cpp
+++ b/zend/script.cpp
@@ -50,7 +50,7 @@ zend_op_array *Script::compile(const char *name, const char *phpcode, size_t siz
* @param script actual PHP code
* @param size length of the string
*/
-Script::Script(const char *name, const char *phpcode, size_t size)
+Script::Script(const char *name, const char *phpcode, size_t size) noexcept
{
// we need the tsrm_ls variable
TSRMLS_FETCH();