replace assert.h with cassert

The former was deprecated with C++14.

According to the C++11 and C++17 standards, both files are identical.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2020-03-12 15:20:59 -07:00
parent a718086ffb
commit ab9f5d2067
246 changed files with 320 additions and 317 deletions

View File

@@ -33,7 +33,7 @@
#include "Ref.hxx"
#include "Exception.hxx"
#include <assert.h>
#include <cassert>
namespace Java {
/**

View File

@@ -34,7 +34,7 @@
#include <jni.h>
#include <assert.h>
#include <cassert>
namespace Java {
/**

View File

@@ -34,10 +34,9 @@
#include <jni.h>
#include <cassert>
#include <utility>
#include <assert.h>
namespace Java {
/**
* Hold a local reference on a JNI object.