Minor change to avoid compiler warning

This commit is contained in:
Davis King 2016-03-27 08:45:44 -04:00
parent 8f0bda5f82
commit bd79b8778a
1 changed files with 1 additions and 1 deletions

View File

@ -1585,7 +1585,7 @@ namespace dlib
static_assert(sample_expansion_factor >= 1,
"The input layer can't produce fewer output tensors than there are inputs.");
add_tag_layer():gradient_input_is_stale(true),cached_output_ptr(nullptr) {}
add_tag_layer():cached_output_ptr(nullptr),gradient_input_is_stale(true) {}
add_tag_layer(const add_tag_layer&) = default;
add_tag_layer& operator=(const add_tag_layer&) = default;