Skip to content

Commit 8feead7

Browse files
author
Sebastiano Merlino
committed
Removed useless typedef
1 parent 9f15463 commit 8feead7

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/httpserver/binders.hpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
1515
You should have received a copy of the GNU Lesser General Public
1616
License along with this library; if not, write to the Free Software
17-
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
17+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
1818
USA
1919
*/
2020

@@ -45,7 +45,6 @@ namespace details
4545
generic_mem_func_type &bound
4646
)
4747
{
48-
typedef char ERROR_member_pointer_not_supported[N-100];
4948
return 0;
5049
}
5150
};
@@ -54,7 +53,7 @@ namespace details
5453
struct converter<MEMFUNC_SIZE>
5554
{
5655
template<typename X,
57-
typename func_type,
56+
typename func_type,
5857
typename generic_mem_func_type>
5958
inline static generic_class* convert(
6059
X* pmem,
@@ -168,7 +167,7 @@ namespace details
168167
typedef RET_TYPE (*static_function)(PAR1 p1, PAR2 p2);
169168
typedef RET_TYPE (*void_static_function)(PAR1 p1, PAR2 p2);
170169

171-
typedef RET_TYPE
170+
typedef RET_TYPE
172171
(generic_class::*generic_mem)(PAR1 p1, PAR2 p2);
173172

174173
typedef binder<

0 commit comments

Comments
 (0)