Permalink
Browse files

fix template dependence name bug

Signed-off-by: yayanyang <yayanyang@gmail.com>
  • Loading branch information...
1 parent c95ca55 commit 646308b562673d16c70033da74fe5339e17fe39c yayanyang committed Sep 27, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 io/basic_io_object.hpp
View
@@ -41,7 +41,7 @@ namespace lemon{namespace io{namespace impl{
{
assert(blocksize == sizeof(self_type));
- block_type* block = (block_type*)service->allocator().alloc<self_type>();
+ block_type* block = (block_type*)service->allocator().template alloc<self_type>();
block->service = service;
@@ -52,7 +52,7 @@ namespace lemon{namespace io{namespace impl{
{
assert(blocksize == sizeof(self_type));
- reinterpret_cast<block_type*>(block)->service->allocator().free<self_type>(block);
+ reinterpret_cast<block_type*>(block)->service->allocator().template free<self_type>(block);
}
static void operator delete(void * block,io_service_type * service)

0 comments on commit 646308b

Please sign in to comment.