Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
pvigier committed Nov 1, 2018
1 parent 71e9348 commit 080153a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,5 @@ lib
*.geany

# Vim
compile_commands.json
compile_commands.json
*.swp
2 changes: 1 addition & 1 deletion media/articles/new_city.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ His first mission will be to connect {{ city }} with the rest of the world using

Then, he must order the construction of housing, industries and shops to attract people and populate the city.

The final objective of the government with {{ city }} is to find the best model of city to make the citizens as happy as possible.
The final objective of the government with {{ city }} is to find the best city model to make the citizens happy. If the project is successful, the developed model will be applied in cities across the country.

We wish good luck to our new mayor.
</body>
Expand Down
2 changes: 1 addition & 1 deletion src/util/Trie.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class Trie
// Prefix

template <typename String>
std::basic_string<Char> getLongestPrefix(String&& string)
std::basic_string<Char> getLongestPrefix(String&& string) const
{
std::basic_string<Char> prefix;
Node* node = mRoot.get();
Expand Down
2 changes: 2 additions & 0 deletions src/util/enum.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@

#pragma once

#include <type_traits>

template<typename E>
struct EnableBitMaskOperators
{
Expand Down

0 comments on commit 080153a

Please sign in to comment.