From bd79b8778a6307ee824b611854047bf58f722238 Mon Sep 17 00:00:00 2001 From: Davis King Date: Sun, 27 Mar 2016 08:45:44 -0400 Subject: [PATCH] Minor change to avoid compiler warning --- dlib/dnn/core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlib/dnn/core.h b/dlib/dnn/core.h index 2216939fe..3e0db01a9 100644 --- a/dlib/dnn/core.h +++ b/dlib/dnn/core.h @@ -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;