From 0ec8f9f9f90ee7fe4f68f301ec80638f99d4990e Mon Sep 17 00:00:00 2001 From: Vassil Vassilev <vvasilev@cern.ch> Date: Sat, 17 Dec 2016 21:36:48 +0100 Subject: [PATCH] Protect semi-private header. --- core/metautils/inc/RWrap_libcpp_string_view.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/metautils/inc/RWrap_libcpp_string_view.h b/core/metautils/inc/RWrap_libcpp_string_view.h index 9320213ea51..ba16ddc1564 100644 --- a/core/metautils/inc/RWrap_libcpp_string_view.h +++ b/core/metautils/inc/RWrap_libcpp_string_view.h @@ -16,6 +16,10 @@ #ifndef RWrap_libcpp_string_view_h #define RWrap_libcpp_string_view_h +#ifndef RStringView_H +#error "Do not use RWrap_libcpp_string_view.h directly. #include \"RStringView.h\" instead." +#endif // RStringView_H + // In case we are connected with a libc++ which defines those, we need // to include it first, so we avoid being silently over-ridden. -- GitLab