Base: modernize C++: replace 'typedef' with 'using'

This commit is contained in:
wmayer
2022-08-29 11:42:09 +02:00
parent c0d69f7d8e
commit 4e42ff7baa
27 changed files with 67 additions and 67 deletions

View File

@@ -135,7 +135,7 @@ PyObject* PersistencePy::restoreContent(PyObject *args)
//check if it really is a buffer
try {
typedef boost::iostreams::basic_array_source<char> Device;
using Device = boost::iostreams::basic_array_source<char>;
boost::iostreams::stream<Device> stream((char*)buf.buf, buf.len);
getPersistencePtr()->restoreFromStream(stream);
}