Skip to content

Commit

Permalink
Remove '#pragma once' from pch.h
Browse files Browse the repository at this point in the history
  • Loading branch information
iakov committed Jan 12, 2019
1 parent 8da046a commit 9f36dfc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions pch.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License. */

#pragma once
#include <QtCore/QString>
#include <QtCore/QObject>
#include <QtCore/QScopedPointer>
Expand Down
2 changes: 1 addition & 1 deletion vera++/scripts/rules/IncludeGuards.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

proc checkGuards { fileName } {
if {![regexp -nocase {.*.h$} $fileName] } { return }
if {[string match "*trikRuntime/pch.h" $fileName] } { return }
if {[string match "*/pch.h" $fileName] } { return }
set lineCount 1
set guardFound 0
foreach line [getAllLines $fileName] {
Expand Down

0 comments on commit 9f36dfc

Please sign in to comment.