gems: enable strict warnings for depot_query

This commit is contained in:
Norman Feske 2018-03-26 13:49:09 +02:00 committed by Christian Helmuth
parent c9d90c7f9f
commit 4c0f70fbcb
2 changed files with 3 additions and 5 deletions

View File

@ -58,7 +58,7 @@ class Depot_query::Recursion_limit : Noncopyable
* \throw Recursion_limit::Reached
*/
Recursion_limit(Recursion_limit const &other)
: _value(_checked_decr(other._value)) { }
: Noncopyable(), _value(_checked_decr(other._value)) { }
};
@ -79,7 +79,7 @@ class Depot_query::Dependencies
typedef Registered_no_delete<Archive::Path> Entry;
Registry<Entry> _entries;
Registry<Entry> _entries { };
Collection(Allocator &alloc) : _alloc(alloc) { }
@ -184,7 +184,7 @@ struct Depot_query::Main
typedef String<64> Rom_label;
typedef String<16> Architecture;
Architecture _architecture;
Architecture _architecture { };
/**
* Look up ROM module 'rom_label' in the archives referenced by 'pkg_path'

View File

@ -1,5 +1,3 @@
TARGET = depot_query
SRC_CC = main.cc
LIBS += base vfs
CC_CXX_WARN_STRICT =