mirror of
https://github.com/rbock/sqlpp11.git
synced 2026-01-04 12:10:43 -06:00
Remove trailing spaces.
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
/*
|
||||
* Copyright (c) 2013-2015, Roland Bock
|
||||
* All rights reserved.
|
||||
*
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification,
|
||||
* are permitted provided that the following conditions are met:
|
||||
*
|
||||
*
|
||||
* Redistributions of source code must retain the above copyright notice, this
|
||||
* list of conditions and the following disclaimer.
|
||||
*
|
||||
*
|
||||
* Redistributions in binary form must reproduce the above copyright notice, this
|
||||
* list of conditions and the following disclaimer in the documentation and/or
|
||||
* other materials provided with the distribution.
|
||||
*
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
@@ -45,7 +45,7 @@ namespace sqlpp
|
||||
template<typename T>
|
||||
struct _is_valid_comparison_operand
|
||||
{
|
||||
static constexpr bool value =
|
||||
static constexpr bool value =
|
||||
(is_expression_t<T>::value // expressions are OK
|
||||
or is_multi_expression_t<T>::value) // multi-expressions like ANY are OK for comparisons, too
|
||||
and ValueType::template _is_valid_operand<T>::value // the correct value type is required, of course
|
||||
@@ -117,12 +117,12 @@ namespace sqlpp
|
||||
}
|
||||
|
||||
sort_order_t<Expr, sort_type::asc> asc() const
|
||||
{
|
||||
{
|
||||
return { *static_cast<const Expr*>(this) };
|
||||
}
|
||||
|
||||
sort_order_t<Expr, sort_type::desc> desc() const
|
||||
{
|
||||
{
|
||||
return { *static_cast<const Expr*>(this) };
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user