summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/plib/pomp.h
diff options
context:
space:
mode:
author couriersud <couriersud@users.noreply.github.com>2022-05-08 17:53:07 +0200
committer GitHub <noreply@github.com>2022-05-08 17:53:07 +0200
commit5aaae19230bd39dda6766641672f57276a3f9ea1 (patch)
tree282cfec1d6f12d3af722b69be9739c1c8b49f00d /src/lib/netlist/plib/pomp.h
parentc4b417c98d17f15b3805ec2f530d92ce809dc5c7 (diff)
netlist: standalone makefile and prototype modifications (#9708)
- update netlist makefile to more recent compilers - prototypes for NETLISTs in macros are now created create_devinc.py - apply ctidy recommendations - Python None in create_device.py
Diffstat (limited to 'src/lib/netlist/plib/pomp.h')
-rw-r--r--src/lib/netlist/plib/pomp.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/netlist/plib/pomp.h b/src/lib/netlist/plib/pomp.h
index f4fdb34487b..27b4cc74c2a 100644
--- a/src/lib/netlist/plib/pomp.h
+++ b/src/lib/netlist/plib/pomp.h
@@ -19,8 +19,7 @@
#include "omp.h"
#endif
-namespace plib {
-namespace omp {
+namespace plib::omp {
template <typename I, class T>
void for_static(std::size_t numops, const I start, const I end, const T &what) noexcept(noexcept(what))
@@ -79,7 +78,6 @@ inline std::size_t get_max_threads() noexcept
// pdynlib: dynamic loading of libraries ...
// ----------------------------------------------------------------------------------------
-} // namespace omp
-} // namespace plib
+} // namespace plib::omp
#endif // PSTRING_H_