lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 81af895: Define bourn_cast inline


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 81af895: Define bourn_cast inline
Date: Sat, 18 Mar 2017 19:09:55 -0400 (EDT)

branch: master
commit 81af895ade338c6a163bd48541a5800477c684be
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Define bourn_cast inline
    
    See:
      http://lists.nongnu.org/archive/html/lmi/2017-03/msg00101.html
---
 bourn_cast.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bourn_cast.hpp b/bourn_cast.hpp
index 87b61bb..ab89b1e 100644
--- a/bourn_cast.hpp
+++ b/bourn_cast.hpp
@@ -70,7 +70,7 @@
 /// which may be an independent redesign.
 
 template<typename To, typename From>
-To bourn_cast(From from)
+inline To bourn_cast(From from)
 {
 #   if defined __GNUC__
 #       pragma GCC diagnostic push



reply via email to

[Prev in Thread] Current Thread [Next in Thread]