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

This commit is contained in:
wmayer
2022-08-29 16:21:46 +02:00
parent 23961706be
commit bff8a73ba6
23 changed files with 32 additions and 32 deletions

View File

@@ -170,8 +170,8 @@ private:
class ImportExport ExportOCAF2
{
public:
typedef std::function<std::map<std::string,App::Color>(
App::DocumentObject*, const char*)> GetShapeColorsFunc;
using GetShapeColorsFunc = std::function<std::map<std::string,App::Color>(
App::DocumentObject*, const char*)>;
explicit ExportOCAF2(Handle(TDocStd_Document) h, GetShapeColorsFunc func=GetShapeColorsFunc());
void setExportHiddenObject(bool enable) {exportHidden=enable;}