mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-11 22:21:14 -03:00
Mark a bunch of constructors as explicit
This prevents undesired implicit conversions
This commit is contained in:
@@ -1318,7 +1318,7 @@ static void test_escape_sequences(void)
|
||||
class lru_node_test_t : public lru_node_t
|
||||
{
|
||||
public:
|
||||
lru_node_test_t(const wcstring &tmp) : lru_node_t(tmp) { }
|
||||
explicit lru_node_test_t(const wcstring &tmp) : lru_node_t(tmp) { }
|
||||
};
|
||||
|
||||
class test_lru_t : public lru_cache_t<lru_node_test_t>
|
||||
|
||||
Reference in New Issue
Block a user