-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignored empty strings, removed useless includes, added useful ones, t…
…ypo and conventions update
- Loading branch information
Showing
3 changed files
with
15 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,10 +4,9 @@ | |
* | ||
* @author Elia Bieri <[email protected]> | ||
*/ | ||
#include <fstream> | ||
#include <iterator> | ||
|
||
#include <vector> | ||
#include <filesystem> | ||
#include <string> | ||
|
||
namespace blns | ||
{ | ||
|
@@ -18,12 +17,12 @@ class Blns | |
|
||
/* | ||
* Returns the list of Naughty Strings | ||
* @return list of naugthy strings | ||
* @return list of naughty strings | ||
*/ | ||
[[nodiscard]] static std::vector<std::string> const &getStrings() ; | ||
[[nodiscard]] static const std::vector<std::string>& getStrings() ; | ||
|
||
private: | ||
inline static std::vector<std::string> blns; | ||
inline static std::vector<std::string> s_blns; | ||
|
||
static void readFile(); | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters