fix compilation w/o posix_malign
authorRobin Gareus <robin@gareus.org>
Sun, 19 Jul 2015 21:24:19 +0000 (23:24 +0200)
committerRobin Gareus <robin@gareus.org>
Sun, 19 Jul 2015 21:24:19 +0000 (23:24 +0200)
libs/pbd/malign.cc

index e9695cd91c0e6fc32671004b56e118d66714b2b8..4be9f0a9e8f008b37b47477fc961d1a70192491f 100644 (file)
@@ -47,8 +47,6 @@ int cache_aligned_malloc (void** memptr, size_t size)
                return 0;
        }
 #else
-       std::string << string_compose (_("Memory allocation error: malloc (%1 * %2)"),
-                                        CPU_CACHE_ALIGN, size) << endmsg;
        if (((*memptr) = malloc (size)) == 0) {
                fatal << string_compose (_("Memory allocation error: malloc (%1 * %2) failed (%3)"),
                                         CPU_CACHE_ALIGN, size, strerror (errno)) << endmsg;
@@ -113,4 +111,4 @@ void aligned_free (void* memptr)
 #else
        free (memptr);
 #endif
-}
\ No newline at end of file
+}