Skip to content

Commit

Permalink
Various: minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
petersteneteg authored Feb 5, 2025
1 parent 8f33924 commit 5e58ab6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/modules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ jobs:
-DVCPKG_MANIFEST_FEATURES="sgct;graphviz;openmesh;nanovg"
- name: "Run clang-tidy"
uses: cpp-linter/[email protected].2
uses: cpp-linter/[email protected].4
id: linter
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -483,7 +483,7 @@ jobs:
echo "${{ steps.changelog.outputs.changelog }}"
echo "-- End --"
- name: "Upload Changelog"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: changelog.md
path: changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ class IVW_MODULE_NANOVGUTILS_API NanoVGContext {

template <>
struct EnumTraits<NanoVGContext::Alignment> {
static std::string_view name() { return "Text Alignment"; }
static constexpr std::string_view name() { return "Text Alignment"; }
};

} // namespace inviwo
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ enum class TensorFeature : size_t {

template <>
struct EnumTraits<TensorFeature> {
static std::string name() { return "TensorFeature"; }
static constexpr std::string_view name() { return "TensorFeature"; }
};

template <class Elem, class Traits>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,6 @@ T squaredSumDistance(const std::vector<T>& a, const std::vector<T>& b) {
} // namespace tensorutil
template <>
struct EnumTraits<tensorutil::DistanceMetric> {
static std::string name() { return "DistanceMetric"; }
static constexpr std::string_view name() { return "DistanceMetric"; }
};
} // namespace inviwo

0 comments on commit 5e58ab6

Please sign in to comment.