• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ParadoxGameConverters / commonItems / 12846535547

18 Jan 2025 06:41PM UTC coverage: 75.846% (-1.7%) from 77.556%
12846535547

Pull #274

github

web-flow
Merge 8b9494010 into b007cb890
Pull Request #274: Eliminate warnings

279 of 358 new or added lines in 13 files covered. (77.93%)

38 existing lines in 2 files now uncovered.

1837 of 2422 relevant lines covered (75.85%)

240.46 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/ModLoader/Mod.h
1
#ifndef MOD_H_
2
#define MOD_H_
3

4

5
#include <filesystem>
6
#include <set>
7
#include <string>
8

9

10

11
using Name = std::string;
12
using Path = std::filesystem::path;
13
struct Mod
14
{
15
        Mod() = default;
16
        explicit Mod(Name theName, Path thePath): name(std::move(theName)), path(std::move(thePath)) {}
17
        explicit Mod(Name theName, Path thePath, std::set<Name> theDependencies):
18
                 name(std::move(theName)), path(std::move(thePath)), dependencies(std::move(theDependencies))
19
        {
20
        }
NEW
21
        explicit Mod(Name theName, Path thePath, std::set<Name> theDependencies, std::set<Path> theReplacedFolders):
×
22
                 name(std::move(theName)), path(std::move(thePath)), dependencies(std::move(theDependencies)), replacedFolders(std::move(theReplacedFolders))
×
23
        {
24
        }
×
25

26
        bool operator==(const Mod& rhs) const { return rhs.name == name && rhs.path == path && rhs.name == name; }
27

28
        Name name;
29
        Path path;
30
        std::set<Name> dependencies;
31
        std::set<Path> replacedFolders;
32
};
33

34

35

36
#endif // MOD_H_
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc