summaryrefslogtreecommitdiffstats
path: root/profile-widget/ruleritem.cpp
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2015-11-06 15:20:31 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-06 09:59:00 -0800
commit5d758524be39689b8b1f0905bc843e175c1f57cb (patch)
treef77cf392019dcf480c391c245c7b6ca37bc322e6 /profile-widget/ruleritem.cpp
parent788b3289e9072bef4311c047e7b447fed11e8f46 (diff)
downloadsubsurface-5d758524be39689b8b1f0905bc843e175c1f57cb.tar.gz
profile.h: fix incomplete type
ruleritem.cpp throws an error about incomplete type 'struct gas_pressures'. 'struct gas_pressures' is defined in dive.h, so every header that has usage of the type needs to include dive.h. Such a header is profile.h which has 'struct gas_pressures pressures' in 'struct plot_data', by including dive.h on top of profile.h every source file (e.g. ruleritem.cpp) that includes profile.h will now receive knowledge of a complete 'struct gas_pressures' type. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'profile-widget/ruleritem.cpp')
0 files changed, 0 insertions, 0 deletions