aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Keane <rwkeane@google.com>2021-07-13 11:14:48 -0700
committerOpenscreen LUCI CQ <openscreen-scoped@luci-project-accounts.iam.gserviceaccount.com>2021-07-14 17:30:43 +0000
commit8d0f58e046e362de7ec8079c094a755ae2639779 (patch)
tree0c48697162c2d48199694347e34ff0e215d75eb5
parentbffb5c2247c5705401499ff13b686b119d9918b6 (diff)
downloadopenscreen-8d0f58e046e362de7ec8079c094a755ae2639779.tar.gz
Fix Ordering Issue in Header
This CL fixes an issue where the #endif include guard occurs in the wrong place, leading to compile errors if the header is included more than once. Change-Id: I7973e6c36ab236f9496e48a70264a3a0a3496b54 Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/3024946 Reviewed-by: Ryan Keane <rwkeane@google.com> Commit-Queue: Ryan Keane <rwkeane@google.com>
-rw-r--r--cast/streaming/receiver_base.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cast/streaming/receiver_base.h b/cast/streaming/receiver_base.h
index 0ad3ff86..1a8f3981 100644
--- a/cast/streaming/receiver_base.h
+++ b/cast/streaming/receiver_base.h
@@ -102,7 +102,7 @@ class ReceiverBase {
static constexpr int kNoFramesReady = -1;
};
-#endif // CAST_STREAMING_RECEIVER_BASE_H_
-
} // namespace cast
} // namespace openscreen
+
+#endif // CAST_STREAMING_RECEIVER_BASE_H_