[asterisk-scf-commits] asterisk-scf/release/logger.git branch "master" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Tue Dec 7 17:13:59 CST 2010


branch "master" has been updated
       via  19947c9ca431f79b03cf07aa3fa8a4a7b3cfe53f (commit)
      from  7440f3117505886b277b1f4b875d621eb4ff923c (commit)

Summary of changes:
 client/src/logger.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


- Log -----------------------------------------------------------------
commit 19947c9ca431f79b03cf07aa3fa8a4a7b3cfe53f
Author: David M. Lee <dlee at digium.com>
Date:   Tue Dec 7 17:11:54 2010 -0600

    Fixed linker error on Windows.
    
    ICEBOX_EXPORTING an inline function is actually a bad idea.  This causes
    the Windows compiler to create an instantiation of that function, even if
    it's unused.  Since isEnabledFor called another function, this led to
    linker errors if you #include "logger.h" but didn't add the logger-client
    library.

diff --git a/client/src/logger.h b/client/src/logger.h
index 90e79c5..88e375a 100644
--- a/client/src/logger.h
+++ b/client/src/logger.h
@@ -159,7 +159,7 @@ public:
      * @param level Level to check.
      * @return true if enabled for given level.
      */
-    ASTERISK_SCF_ICEBOX_EXPORT bool isEnabledFor(Level level) const
+    bool isEnabledFor(Level level) const
     {
         return level >= getEffectiveLevel();
     }

-----------------------------------------------------------------------


-- 
asterisk-scf/release/logger.git



More information about the asterisk-scf-commits mailing list