]> sigrok.org Git - pulseview.git/commit
Use the 'default' keyword where applicable. This patch
authorSoeren Apel <redacted>
Tue, 16 Feb 2016 20:15:03 +0000 (21:15 +0100)
committerSoeren Apel <redacted>
Tue, 16 Feb 2016 20:15:03 +0000 (21:15 +0100)
commitc6246dc56ed01d7e99aa65ab88b8c191300b1ebd
treeaa56eaf3674685e3edc6905c8ec08eb71e969668
parent4fb5fb99ba0453af3080e82e4f3e2f295a55616b
Use the 'default' keyword where applicable. This patch
 was initially created using clang-tidy:

  clang-tidy -checks="-*,moderize-use-default" -fix

However, the resulting patch only wanted to alter the
definitions in the .cpp file. I think it makes more
sense to remove the definitions completely and just
add "= default" to the declarations in the header file.
16 files changed:
pv/data/signaldata.cpp
pv/data/signaldata.hpp
pv/devicemanager.cpp
pv/devicemanager.hpp
pv/prop/bool.cpp
pv/prop/bool.hpp
pv/prop/double.cpp
pv/prop/double.hpp
pv/prop/enum.cpp
pv/prop/enum.hpp
pv/prop/int.cpp
pv/prop/int.hpp
pv/view/analogsignal.cpp
pv/view/analogsignal.hpp
pv/view/logicsignal.cpp
pv/view/logicsignal.hpp