Skip to content

Commit

Permalink
Merge pull request #64 from agauniyal/agauniyal-patch-1
Browse files Browse the repository at this point in the history
Mark getVersionDependentHandle() method as inline
  • Loading branch information
agauniyal authored May 28, 2017
2 parents 7f21438 + 92bfc81 commit 866b9ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/rang.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ namespace rang_implementation {


#ifdef OS_WIN
HANDLE getVersionDependentHandle()
inline HANDLE getVersionDependentHandle()
{
if (IsWindowsVersionOrGreater(10, 0, 0)) return nullptr;
return GetStdHandle(STD_OUTPUT_HANDLE);
Expand Down

0 comments on commit 866b9ad

Please sign in to comment.