Skip to content

Commit

Permalink
android-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zinuzoid committed May 30, 2024
1 parent 92e171c commit cabc7b7
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ jobs:
liblua5.4-dev \
libxml-parser-perl \
libasound2-dev \
libgles2-mesa-dev libegl1-mesa-dev
libgles2-mesa-dev libegl1-mesa-dev \
libnetcdf-dev
- name: Compile XCSoar
run: |
Expand Down
2 changes: 2 additions & 0 deletions ide/provisioning/install-debian-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ apt-get install ${APTOPTS[*]} default-jdk-headless vorbis-tools adb libtool \
unzip
echo

apt-get install libglm-dev libnetcdf-dev

echo Clean up downloaded resources in order to free space
apt-get clean
echo
9 changes: 9 additions & 0 deletions src/Weather/Skysight/Metrics.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,18 @@ struct SkysightActiveMetric {
SkysightActiveMetric(SkysightMetric *_metric, uint64_t _from,
uint64_t _to, uint64_t _mtime):
metric(_metric), from(_from), to(_to), mtime(_mtime) {}
~SkysightActiveMetric() = default;
SkysightActiveMetric(const SkysightActiveMetric &m):
metric(m.metric), from(m.from), to(m.to), mtime(m.mtime),
updating(m.updating) {}
SkysightActiveMetric& operator=(const SkysightActiveMetric &m) {
metric = m.metric;
from = m.from;
to = m.to;
mtime = m.mtime;
updating = m.updating;
return *this;
}
};

struct DisplayedMetric {
Expand Down

0 comments on commit cabc7b7

Please sign in to comment.