Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions cpp/Platform.Ranges.Tests/pch.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
// However, files listed here are ALL re-compiled if any one of them is updated between builds.
// Do not add files here that you will be updating frequently as this negates the performance advantage.

#ifndef PCH_H
#define PCH_H
#pragma once

// add headers that you want to pre-compile here

#endif //PCH_H
4 changes: 3 additions & 1 deletion cpp/Platform.Ranges/EnsureExtensions.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
namespace Platform::Ranges::Ensure::Always
#pragma once

namespace Platform::Ranges::Ensure::Always
{
const std::string DefaultMaximumShouldBeGreaterOrEqualToMinimumMessage = "Maximum should be greater or equal to minimum.";

Expand Down
4 changes: 3 additions & 1 deletion cpp/Platform.Ranges/Range.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
namespace Platform::Ranges
#pragma once

namespace Platform::Ranges
{
#define LIMIT_AS_RANGE(type) std::numeric_limits<type>::lowest(), std::numeric_limits<type>::max()

Expand Down
4 changes: 3 additions & 1 deletion cpp/Platform.Ranges/RangeExtensions.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
namespace Platform::Ranges
#pragma once

namespace Platform::Ranges
{
template<typename T> requires requires(T a, T b) { a - b; }
auto Difference(Range<T> range)
Expand Down
4 changes: 3 additions & 1 deletion cpp/Platform.Ranges/Range[T].h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
namespace Platform::Ranges
#pragma once

namespace Platform::Ranges
{
namespace Internal
{
Expand Down
Loading
Loading